15.12.2012 Views

scipy tutorial - Baustatik-Info-Server

scipy tutorial - Baustatik-Info-Server

scipy tutorial - Baustatik-Info-Server

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

SciPy Reference Guide, Release 0.8.dev<br />

getmaxprint()<br />

getnnz()<br />

getrow(i)<br />

Returns a copy of row i of the matrix, as a (1 x n) sparse matrix (row vector).<br />

listprint(*args, **kwds)<br />

listprint is deprecated!<br />

Provides a way to print over a single index.<br />

matmat(*args, **kwds)<br />

matmat is deprecated!<br />

matvec(*args, **kwds)<br />

matvec is deprecated!<br />

mean(axis=None)<br />

Average the matrix over the given axis. If the axis is None, average over both rows and columns, returning<br />

a scalar.<br />

multiply(other)<br />

Point-wise multiplication by another matrix<br />

nonzero()<br />

nonzero indices<br />

Returns a tuple of arrays (row,col) containing the indices of the non-zero elements of the matrix.<br />

prune()<br />

Remove empty space after all non-zero elements.<br />

reshape(shape)<br />

rmatvec(*args, **kwds)<br />

rmatvec is deprecated!<br />

Multiplies the vector ‘other’ by the sparse matrix, returning a<br />

dense vector as a result.<br />

If ‘conjugate’ is True:<br />

Otherwise:<br />

rowcol(*args, **kwds)<br />

rowcol is deprecated!<br />

• returns A.transpose().conj() * other<br />

• returns A.transpose() * other.<br />

save(file_name, format=’%d %d %fn’)<br />

set_shape(shape)<br />

360 Chapter 3. Reference

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!