[SciPy-dev] Matrix Structure Plots in scipy ?
Pearu Peterson
pearu at scipy.org
Wed Oct 6 07:19:52 CDT 2004
On Wed, 6 Oct 2004, Nils Wagner wrote:
> The number of outputs is more than described in help (io.mmio)
>
>
> mmread(source)
> Reads the contents of the Matrix Market file 'filename' into the
> matrix 'A'.
>
> Inputs:
>
> source - Matrix Market filename (extension .mtx) or open file
> object.
>
> Outputs:
>
> a - sparse or full matrix
>
> Actually
>
> b,m,n,s = mmread('young1c')
>
> should be used.
Since the values for m,n,s are available via mminfo then I have changed
the signature of mmread to
a = mmread(source)
Btw, one can now also write sparse matrices using mmwrite.
Pearu
More information about the Scipy-dev
mailing list