SciPy

scipy.sparse.coo_matrix.power

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

This function performs element-wise power.

Parameters:
n : n is a scalar
dtype : If dtype is not specified, the current dtype will be preserved.

Previous topic

scipy.sparse.coo_matrix.nonzero

Next topic

scipy.sparse.coo_matrix.rad2deg