scipy 1.8.0 Pypi GitHub Homepage
Other Docs
NotesParametersReturns
_onenormest_core(A, AT, t, itmax)

Notes

This is algorithm 2.4.

Parameters

A : ndarray or other linear operator

A linear operator that can produce matrix products.

AT : ndarray or other linear operator

The transpose of A.

t : int, optional

A positive parameter controlling the tradeoff between accuracy versus time and memory usage.

itmax : int, optional

Use at most this many iterations.

Returns

est : float

An underestimate of the 1-norm of the sparse matrix.

v : ndarray, optional

The 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, optional

The 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, optional

The number of matrix products that were computed.

nresamples : int, optional

The number of times a parallel column was observed, necessitating a re-randomization of the column.

Compute a lower bound of the 1-norm of a sparse matrix.

Examples

See :

Local connectivity graph

Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.

Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)

SVG is more flexible but power hungry; and does not scale well to 50 + nodes.

All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them


GitHub : /scipy/sparse/linalg/_onenormest.py#323
type: <class 'function'>
Commit: