Back to Scientific Computing (SciPy)
sp.sparse.kron
Kronecker product of sparse matrices.
Syntax
sp.sparse.kron(A, B, format?)
Description
Kronecker product of sparse matrices.
Parameters
| Name | Description |
|---|---|
| A | - First sparse matrix or dense 2D array |
| B | - Second sparse matrix or dense 2D array |
| format(optional) | - Output format: 'coo', 'csr', or 'csc' (default 'csr') |
Returns
SparseMatrix