15.12.2012 Views

scipy tutorial - Baustatik-Info-Server

scipy tutorial - Baustatik-Info-Server

scipy tutorial - Baustatik-Info-Server

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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

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

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

astype(t)<br />

check_format([full_check]) check whether the matrix format is valid<br />

conj()<br />

conjugate()<br />

copy()<br />

diagonal() Returns the main diagonal of the matrix<br />

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

eliminate_zeros() Remove zero entries from the matrix<br />

ensure_sorted_indices([inplace]) Return a copy of this matrix where the column indices are sorted<br />

getH()<br />

get_shape()<br />

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

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

getformat()<br />

getmaxprint()<br />

getnnz()<br />

getrow(i) Returns a copy of row i of the matrix, as a (1 x n) sparse<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() nonzero indices<br />

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

reshape(shape)<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 />

sort_indices() Sort the indices of this matrix in place<br />

sorted_indices() Return a copy of this matrix with sorted indices<br />

sum([axis]) Sum the matrix over the given axis.<br />

sum_duplicates() Eliminate duplicate matrix entries by adding them together<br />

toarray()<br />

tobsr([blocksize, copy])<br />

tocoo([copy]) Return a COOrdinate representation of this matrix<br />

tocsc()<br />

tocsr([copy])<br />

todense()<br />

todia()<br />

todok()<br />

tolil()<br />

transpose([copy])<br />

asformat(format)<br />

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

Parameters<br />

format : {string, None}<br />

358 Chapter 3. Reference

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

Saved successfully!

Ooh no, something went wrong!