Expand description
Singular value decomposition by one-sided Jacobi rotations โ simple,
accurate for the small-to-moderate matrices of quant workflows, and
rank-revealing. A = U diag(S) V^T with orthonormal U (m x n,
columns for nonzero singular values), non-negative S sorted
descending, and orthogonal V (n x n).
Functionsยง
- pseudo_
solve - Minimum-norm least-squares solve
A x ~ bthrough the SVD pseudo-inverse, dropping singular values belowtol * s_maxโ the robust choice for rank-deficient or ill-conditioned systems. - svd
- SVD of an
m x nmatrix (any shape; internally transposes whenm < n). Returns(u, s, v)withA = U diag(S) V^T.