This is documentation for an old release of SciPy (version 1.8.0). Read this page in the documentation of the latest stable release (version 1.14.1).

scipy.sparse.coo_array.power#

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

This function performs element-wise power.

Parameters
nn is a scalar
dtypeIf dtype is not specified, the current dtype will be preserved.