### Navigation

- index
- modules |
- next |
- previous |
- SciPy v0.7 Reference Guide (DRAFT) »
- Input and output (`scipy.io`) »

# scipy.io.mminfo

`scipy.io.``mminfo`(source)

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

  Inputs:

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

  Outputs:

  > rows,cols - number of matrix rows and columns entries - 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’

### Navigation

- index
- modules |
- next |
- previous |
- SciPy v0.7 Reference Guide (DRAFT) »
- Input and output (`scipy.io`) »