Skip to content

num::seq::svd

Defined in header <linear/svd/svd.hpp>

svd_result svd(const mat<real> &A_in, real tol, idx max_sweeps);

Compute the SVD by one-sided Jacobi (Hestenes): \(A = U \Sigma V^T\).

Notes

Slower than bidiagonalization but accurate for small singular values.