Skip to main content

Module linalg

Module linalg 

Source
Expand description

Numerical linear algebra.

Two building blocks carry the conditioning analysis: a decomposition of a tall-skinny matrix that never forms JᵀJ, and singular values computed to relative rather than absolute accuracy.

Structs§

Decomposition
Singular values together with the right singular vectors.
Tsqr
The upper-triangular factor R of the decomposition J = QR.

Functions§

condition_number
The condition number σ_max / σ_min.
decompose
The full decomposition: magnitudes and directions.
reduce
Assembles R from the rows returned by row.
singular_values
Singular values of a square matrix, in decreasing order.