scipy.sparse.csc_matrix.power

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