[SciPy-dev] Matrix Structure Plots in scipy ?
Pearu Peterson
pearu at scipy.org
Wed Oct 6 07:50:13 CDT 2004
On Wed, 6 Oct 2004, Nils Wagner wrote:
> Is it also possible, that mmread returns sparse matrices when reading
> sparse matrices from *.mtx ?
Now yes, mmread will return coo_matrix instance when reading coordinate
.mtx files.
> Is it generally possible to switch between sparse and dense format of
> matrices in scipy ?
Yes.
>From sparse to dense: <spmatrix instance>.todense()
>From dense to sparse: <spmatrix class>(<array>)
For more info, see scipy.sparse.Sparse.
> Now, scipy has some iterative solvers for linear systems. Can I use both
> dense and sparse matrices with respect to cg,... ?
>
> How about sparse eigensolvers in scipy e.g. ARPACK ?
Cannot answer these questions right now...
Pearu
More information about the Scipy-dev
mailing list