SciPy

scipy.sparse.spmatrix.power

spmatrix.power(n, dtype=None)[source]

Element-wise power.

Previous topic

scipy.sparse.spmatrix.nonzero

Next topic

scipy.sparse.spmatrix.reshape