This is documentation for an old release of SciPy (version 0.9.0). Read this page in the documentation of the latest stable release (version 1.15.1).

scipy.io.mminfo

scipy.io.mminfo(source)

Queries the contents of the Matrix Market file ‘filename’ to extract size and storage information.

Parameters :

source : file

Matrix Market filename (extension .mtx) or open file object

Returns :

rows,cols : int

Number of matrix rows and columns

entries : int

Number of non-zero entries of a sparse matrix or rows*cols for a dense matrix

format : {‘coordinate’, ‘array’}

field : {‘real’, ‘complex’, ‘pattern’, ‘integer’}

symm : {‘general’, ‘symmetric’, ‘skew-symmetric’, ‘hermitian’}

Previous topic

scipy.io.savemat

Next topic

scipy.io.mmread

This Page