API¶
Description
Classes
|
A sparse multidimensional array. |
|
A class for building sparse multidimensional arrays. |
|
An abstract base class for all the sparse array classes. |
Functions
|
Find the indices of array elements that are non-zero, grouped by element. |
|
Converts any given format to |
|
Concatenate the input arrays along the given dimension. |
|
Clip (limit) the values in the array. |
|
Extract diagonal from a COO array. |
|
Diagonalize a COO array. |
|
Perform the equivalent of |
|
Apply a function to any number of arguments. |
|
Return a 2-D array in the specified format with ones on the diagonal and zeros elsewhere. |
|
Return a SparseArray of given shape and type, filled with fill_value. |
|
Return a full array with the same shape and type as a given array. |
|
Test element-wise for positive infinity, return result as sparse |
|
Test element-wise for negative infinity, return result as sparse |
|
Kronecker product of 2 sparse arrays. |
|
Load a sparse matrix in numpy’s |
|
Perform the equivalent of |
|
Maximize along the given axes, skipping |
|
Performs a |
|
Minimize along the given axes, skipping |
|
Performs a product operation along the given axes, skipping |
|
Performs an |
|
Performs a |
|
Return a SparseArray of given shape and type, filled with ones. |
|
Return a SparseArray of ones with the same shape and type as |
|
Return outer product of two sparse arrays. |
|
Generate a random sparse multidimensional array |
|
Returns the type that results from applying the NumPy type promotion rules to the arguments. |
|
Shifts elements of an array along specified axis. |
|
Save a sparse matrix to disk in numpy’s |
|
Stack the input arrays along the given dimension. |
|
Perform the equivalent of |
|
Returns an array with all elements above the k-th diagonal set to zero. |
|
Returns an array with all elements below the k-th diagonal set to zero. |
|
Select values from either |
|
Return a SparseArray of given shape and type, filled with zeros. |
|
Return a SparseArray of zeros with the same shape and type as |