scipy.sparse.lil_array.

power#

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

Element-wise power.

Returns:
csr array/matrix

Result of raising all elements to the power n.