You are viewing an older version (1.17.1).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy 1.17.1 / scipy / sparse / linalg / _matfuncs / _onenorm_matrix_power_nnm

function

scipy.sparse.linalg._matfuncs:_onenorm_matrix_power_nnm

source: /scipy/sparse/linalg/_matfuncs.py:80

Signature

def _onenorm_matrix_power_nnm(A, p)

Summary

Compute the 1-norm of a non-negative integer power of a non-negative matrix.

Parameters

A : a square ndarray or matrix or sparse arrays

Input matrix with non-negative entries.

p : non-negative integer

The power to which the matrix is to be raised.

Returns

out : float

The 1-norm of the matrix power p of A.

Aliases

  • scipy.sparse.linalg._matfuncs._onenorm_matrix_power_nnm