NLA-lib Explorer

Least squares

Minimize \|\mathbf{A} \mathbf{x}-\mathbf{b}\|_2, exactly or using a sketch.

Krylov least-squares methods

Use matrix-vector products with the matrix and its adjoint to solve the least-squares problem iteratively.

Sketch-based solvers

Either solve a compressed problem or use a sketch to precondition a solve of the original problem.

Factorization-based solvers

Use orthogonal factors or singular values to solve the least-squares problem; rank deficiency changes the solution characterization.

Gradient and row-action methods

Use adjoint residual steps or projections onto sampled equations.

Mathematical background