scipy.sparse.dia_matrix.power

dia_matrix.power(n, dtype=None)[源代码]

此函数执行元素级电源。

参数
nN是标量
dtype如果未指定dtype,则将保留当前的dtype。