scipy 1.8.0 Pypi GitHub Homepage
Other Docs
NotesParametersReturns
estimate_smallest_singular_value(U)

Notes

The procedure is based on and is done in two steps. First, it finds a vector e with components selected from {+1, -1} such that the solution w from the system U.T w = e is as large as possible. Next it estimate U v = w . The smallest singular value is close to norm(w)/norm(v) and the right singular vector is close to v/norm(v) .

The estimation will be better more ill-conditioned is the matrix.

Parameters

U : ndarray

Square upper triangular matrix.

Returns

s_min : float

Estimated smallest singular value of the provided matrix.

z_min : ndarray

Estimatied right singular vector.

Given upper triangular matrix U estimate the smallest singular value and the correspondent right singular vector in O(n**2) operations.

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/optimize/_trustregion_exact.py#44
type: <class 'function'>
Commit: