bundles / scipy latest / scipy / sparse / linalg / _onenormest / _onenormest_core
function
scipy.sparse.linalg._onenormest:_onenormest_core
Signature
def _onenormest_core ( A , AT , t , itmax ) Summary
Compute a lower bound of the 1-norm of a sparse array.
Parameters
A: ndarray or other linear operatorA linear operator that can produce matrix products.
AT: ndarray or other linear operatorThe transpose of A.
t: int, optionalA positive parameter controlling the tradeoff between accuracy versus time and memory usage.
itmax: int, optionalUse at most this many iterations.
Returns
est: floatAn underestimate of the 1-norm of the sparse array.
v: ndarray, optionalThe vector such that ||Av||_1 == est*||v||_1. It can be thought of as an input to the linear operator that gives an output with particularly large norm.
w: ndarray, optionalThe vector Av which has relatively large 1-norm. It can be thought of as an output of the linear operator that is relatively large in norm compared to the input.
nmults: int, optionalThe number of matrix products that were computed.
nresamples: int, optionalThe number of times a parallel column was observed, necessitating a re-randomization of the column.
Notes
This is algorithm 2.4.
Aliases
-
scipy.sparse.linalg._onenormest._onenormest_core