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

todense()<br />

todia([copy])<br />

todok()<br />

tolil()<br />

transpose()<br />

asformat(format)<br />

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

Parameters<br />

format : {string, None}<br />

Table 3.8 – continued from previous page<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 />

copy()<br />

diagonal()<br />

Returns the main diagonal of the matrix<br />

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

dot is deprecated!<br />

getH()<br />

get_shape()<br />

getcol(j)<br />

Returns a copy of column j of the matrix, as an (m x 1) sparse matrix (column vector).<br />

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

getdata is deprecated!<br />

getformat()<br />

382 Chapter 3. Reference

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

Saved successfully!

Ooh no, something went wrong!