NLA-lib Explorer

Matrix analysis

Matrix analysis provides the language for numerical error and approximation. Start with norms to measure an error, spectra and singular values to describe a matrix, and subspaces to describe an approximation space. Perturbation and approximation theorems connect these objects.

Subtopics

Matrix norms

Spectral, Frobenius, nuclear, and Schatten norms.

Spectral theory

The spectral theorem, eigenvalue variational principles, interlacing, and positive definiteness.

Singular values

Singular-value decompositions, Weyl inequalities, interlacing, and best-rank approximation.

Subspaces and projectors

Orthonormal bases, projectors, angles, and approximation by subspaces.

Perturbation theory

Davis–Kahan subspace bounds and perturbation of eigenvalues, singular values, and solutions.

Pseudoinverses

Moore–Penrose pseudoinverses, least-squares solutions, and range conditions.

Matrix polynomials and functional calculus

Matrix polynomials and functional calculus, connecting Chebyshev approximation to operator error bounds.

Krylov spaces

Krylov spaces, grade, and polynomial projections underlying CG, Lanczos, and Arnoldi.

Best-rank approximation and truncation

Truncated SVD, Eckart–Young optimality, and error bounds for projection and truncation.

Embeddings and sketch guarantees

Johnson–Lindenstrauss, subspace embeddings, approximate matrix multiplication, and projection-cost preservation.

Factorization identities and existence

QR, LU, SVD, Schur and polar decompositions, existence conditions, and factorization identities.

Matrix functions and operator inequalities

Matrix exponentials, logarithms, sign, and operator monotonicity, including Golden–Thompson and Lieb.

Matrix inequalities and majorization

Loewner order, determinant inequalities, majorization, and Ky Fan and Lidskii bounds.

Rank, determinants, and Schur complements

Rank identities, Cauchy–Binet, complementary minors, and Schur-complement tests.

Rounding and finite-precision arithmetic

Word arithmetic, relative and absolute error, representability, and accumulated rounding error.

Structured matrices

Circulant, Toeplitz, Cauchy, and tensor-structured matrix identities.

Used by algorithms

60 algorithms using this topic or its subtopics

Conjugate gradient (CG)

Solve a symmetric positive-definite system \mathbf{A}\mathbf{x}=\mathbf{b} using a short Krylov recurrence.

Lanczos process

Build a Krylov basis and a tridiagonal compression of a symmetric operator.

Preconditioned CG (PCG)

Apply conjugate gradients to a symmetrically preconditioned positive-definite system.

Block CG

Solve several positive-definite systems together using block Krylov spaces.

Lanczos matrix-function approximation

Run Lanczos, evaluate f on the small tridiagonal matrix, and lift the result to approximate f(\mathbf{A})\mathbf{b}.

Lanczos quadrature

Use the Lanczos compression to approximate a quadratic form \mathbf{b}^{\mathsf{T}}f(\mathbf{A})\mathbf{b}.

MINRES

Minimize the residual over a Krylov space for a symmetric system.

GMRES

Minimize the residual over a Krylov space for a general square system.

Arnoldi process

Build an orthonormal Krylov basis and an upper-Hessenberg compression.

CGLS

Apply a conjugate-gradient recurrence to a least-squares problem.

Golub–Kahan process

Build a pair of Krylov bases and a block bidiagonal factorization of a rectangular operator.

LSQR

Use bidiagonalization to solve least-squares problems iteratively.

Range-finder approximation (RSVD)

Project the matrix onto the full range of its sketch.

Randomized subspace iteration (RSI)

Apply power iterations to the sketch, then project the matrix onto its range.

Late-truncated RSI

Complete randomized subspace iteration, then truncate the output to the target rank.

Randomized block Krylov iteration (RBKI)

Project the matrix onto a block Krylov space generated from its sketch.

Late-truncated RBKI

Complete randomized block Krylov iteration, then truncate the output to the target rank.

Nyström approximation

Approximate a positive-semidefinite matrix using sampled or sketched columns.

Generalized Nyström (GN)

Use two sketches to construct a low-rank approximation of a general matrix.

Nyström block Krylov iteration (NysBKI)

Use a block Krylov test matrix in a Nyström approximation of a positive-semidefinite matrix.

Late-truncated NysBKI

Complete Nyström block Krylov iteration, then truncate the output to the target rank.

Nyström subspace iteration (NysSI)

Use a powered test matrix in a Nyström approximation of a positive-semidefinite matrix.

Late-truncated NysSI

Complete Nyström subspace iteration, then truncate the output to the target rank.

Sketch-and-solve least squares

Solve a compressed least-squares problem produced by a sketch.

Sketch-and-precondition least squares

Build a preconditioner from a sketch before solving the original problem.

Gram–Schmidt orthogonalization

Construct an orthonormal basis from input vectors.

QR factorization

Factor a matrix into an orthogonal basis and a triangular factor.

Cholesky factorization

Construct a triangular factor of a positive-definite matrix.

Singular-value decomposition

Construct singular values and left and right singular vectors.

Hermitian spectral bisection (Shah)

Use a spectral split to separate invariant subspaces.

Newton–Schulz sign iteration

Use a polynomial iteration to approximate a matrix sign function.

Iterative refinement

Improve a computed solution by solving for its residual, with each operation in its own precision.

Randomized subspace extraction (deflation)

Project a random sample through a matrix and extract a basis using QR.

CountSketch

Use a sparse randomized embedding to compress a vector or matrix.

Subsampled randomized Hadamard transform

Combine randomized signs, a structured orthogonal transform, and sampling.

Early-and-late-truncated RSVD

Select a reduced sketch range, then truncate the projected matrix to the target rank.

Early-truncated GN

Truncate the range sketch before completing the two-sided approximation.

Early-truncated RSVD

Truncate the sketch first, then project the matrix onto that smaller range.

Full orthogonalization method (FOM)

Enforce Galerkin orthogonality using a full Krylov basis.

Hessenberg reduction

Reduce a square matrix by Householder similarities before a QR eigensolve.

Hessenberg shifted QR (BGS)

The shifted QR algorithm of Banks, Garza-Vargas and Srivastava on Hessenberg matrices, with exact-arithmetic and finite-precision programs and BGS + Dense Schur (end-to-end).

Inverse iteration

Use shifted linear solves to target an eigenvector near a chosen shift.

Iterative sketching

Use a fixed sketched Gram matrix to precondition repeated least-squares corrections.

Jacobi eigenvalue method

Apply plane rotations to diagonalize a Hermitian matrix.

LU factorization

Factor a matrix into lower- and upper-triangular factors without row permutations.

Landweber iteration

Apply gradient steps to a linear least-squares objective.

Late-truncated GN

Complete generalized Nyström, then truncate the output to the target rank.

Late-truncated RSVD

Project onto the sketch range, then truncate the resulting approximation.

Newton matrix-sign iteration

Use inverse averaging to compute a matrix sign.

Newton polar iteration

Use pseudoinverse averaging to approach a polar factor.

Newton–Schulz polar iteration

Use an inverse-free cubic iteration for the polar factor.

PLU factorization

Use row permutations in a lower–upper triangular factorization.

Pivoted Cholesky

Factor a positive-semidefinite matrix by selecting residual diagonal pivots.

Polynomial polar iteration

Apply a sequence of odd polynomial singular-value filters.

Power iteration

Repeatedly apply an operator to approximate a dominant eigenvector.

Preconditioned MINRES

Minimize a preconditioned residual norm for a Hermitian system.

Probe spectral estimation

Estimate a Hermitian matrix spectral measure with isotropic random probes.

Randomized Kaczmarz

Project onto sampled row equations using squared-row-norm sampling.

Richardson iteration

Update an iterate with a preconditioned residual.

Sketch-and-project

Project an iterate onto a sketched system of equations.