block_diag(mats, format=None, dtype=None) |
|
bmat(blocks, format=None, dtype=None) |
|
diags(diagonals, offsets=0, shape=None, format=None, dtype=None) |
|
eye(m, n=None, k=0, dtype=<class 'float'>, format=None) |
Sparse matrix with ones on diagonal [extrait de eye.__doc__] |
find(A) |
Return the indices and values of the nonzero elements of a matrix [extrait de find.__doc__] |
hstack(blocks, format=None, dtype=None) |
|
identity(n, dtype='d', format=None) |
Identity matrix in sparse format [extrait de identity.__doc__] |
isspmatrix(x) |
Is x of a sparse matrix type? [extrait de isspmatrix.__doc__] |
isspmatrix_bsr(x) |
Is x of a bsr_matrix type? [extrait de isspmatrix_bsr.__doc__] |
isspmatrix_coo(x) |
Is x of coo_matrix type? [extrait de isspmatrix_coo.__doc__] |
isspmatrix_csc(x) |
Is x of csc_matrix type? [extrait de isspmatrix_csc.__doc__] |
isspmatrix_csr(x) |
Is x of csr_matrix type? [extrait de isspmatrix_csr.__doc__] |
isspmatrix_dia(x) |
Is x of dia_matrix type? [extrait de isspmatrix_dia.__doc__] |
isspmatrix_dok(x) |
Is x of dok_matrix type? [extrait de isspmatrix_dok.__doc__] |
isspmatrix_lil(x) |
Is x of lil_matrix type? [extrait de isspmatrix_lil.__doc__] |
kron(A, B, format=None) |
kronecker product of sparse matrices A and B [extrait de kron.__doc__] |
kronsum(A, B, format=None) |
kronecker sum of sparse matrices A and B [extrait de kronsum.__doc__] |
load_npz(file) |
Load a sparse matrix from a file using ``.npz`` format. [extrait de load_npz.__doc__] |
rand(m, n, density=0.01, format='coo', dtype=None, random_state=None) |
Generate a sparse matrix of the given shape and density with uniformly [extrait de rand.__doc__] |
random(m, n, density=0.01, format='coo', dtype=None, random_state=None, data_rvs=None) |
Generate a sparse matrix of the given shape and density with randomly [extrait de random.__doc__] |
save_npz(file, matrix, compressed=True) |
Save a sparse matrix to a file using ``.npz`` format. [extrait de save_npz.__doc__] |
spdiags(data, diags, m, n, format=None) |
|
test(label='fast', verbose=1, extra_argv=None, doctests=False, coverage=False, tests=None, parallel=None) |
|
tril(A, k=0, format=None) |
Return the lower triangular portion of a matrix in sparse format [extrait de tril.__doc__] |
triu(A, k=0, format=None) |
Return the upper triangular portion of a matrix in sparse format [extrait de triu.__doc__] |
vstack(blocks, format=None, dtype=None) |
|
Améliorations / Corrections
Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.
Emplacement :
Description des améliorations :