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 />

Table 3.5 – continued from previous page<br />

getnnz()<br />

getrow(i) Returns a copy of the ‘i’th row.<br />

getrowview(i) Returns a view of the ‘i’th row (without copying).<br />

listprint(*args, **kwds) listprint is deprecated!<br />

matmat(*args, **kwds) matmat is deprecated!<br />

matvec(*args, **kwds) matvec is deprecated!<br />

mean([axis]) Average the matrix over the given axis.<br />

multiply(other) Point-wise multiplication by another matrix<br />

nonzero()<br />

reshape(shape)<br />

nonzero indices<br />

rmatvec(*args, **kwds) rmatvec is deprecated!<br />

rowcol(*args, **kwds) rowcol is deprecated!<br />

save(file_name[, format])<br />

set_shape(shape)<br />

setdiag(values[, k]) Fills the diagonal elements {a_ii} with the values from the given sequence.<br />

sum([axis])<br />

toarray()<br />

tobsr([blocksize])<br />

tocoo()<br />

Sum the matrix over the given axis.<br />

tocsc() Return Compressed Sparse Column format arrays for this matrix.<br />

tocsr()<br />

todense()<br />

todia()<br />

todok()<br />

tolil([copy])<br />

transpose()<br />

Return Compressed Sparse Row format arrays for this matrix.<br />

asformat(format)<br />

Return this matrix in a given sparse format<br />

Parameters<br />

format : {string, None}<br />

desired sparse matrix format<br />

• None for no format conversion<br />

• “csr” for csr_matrix format<br />

• “csc” for csc_matrix format<br />

• “lil” for lil_matrix format<br />

• “dok” for dok_matrix format and so on<br />

asfptype()<br />

Upcast matrix to a floating point format (if necessary)<br />

astype(t)<br />

conj()<br />

conjugate()<br />

368 Chapter 3. Reference

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

Saved successfully!

Ooh no, something went wrong!