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

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

check_format(full_check=True)<br />

check whether the matrix format is valid<br />

conj()<br />

Parameters:<br />

conjugate()<br />

copy()<br />

full_check:<br />

True - rigorous check, O(N) operations : default False - basic check, O(1) operations<br />

diagonal()<br />

Returns the main diagonal of the matrix<br />

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

dot is deprecated!<br />

eliminate_zeros()<br />

ensure_sorted_indices(inplace=False)<br />

Return a copy of this matrix where the column indices are sorted<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 />

364 Chapter 3. Reference

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

Saved successfully!

Ooh no, something went wrong!