SciPy

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

scipy.sparse.csc_matrix.power

csc_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.