This is documentation for an old release of SciPy (version 0.12.0). Read this page in the documentation of the latest stable release (version 1.15.1).
Generate a sparse matrix of the given shape and density with uniformely distributed values.
Parameters : | m, n : int
density : real
format : str
dtype : dtype
|
---|
Notes
Only float types are supported for now.