
Numerical methods, drawn in three dimensions
Matrix computation and numerical analysis, an interactive guide
Matrix computation sits underneath nearly every numerical method, from a least-squares fit to a filter design. Every method on these pages comes with a model you can turn in your hands. Rotate a matrix and watch its eigenvectors hold their line. Push a pivot through Lemke's tableau. Strip a filter back out of a recorded signal. The math stays exact; the picture just makes it easier to see what the numbers are doing.
Six ways into matrix computation
Numerical analysis is the craft of getting dependable numbers out of a finite machine, and matrix computation is where most of that craft is practised. The sections below follow the order most courses take: matrices first, then signals, then the search for a best answer, then probability and the special functions it needs, then curves through data, and finally the plain work of moving numbers in and out of files. Each section opens with a short map and links every method page that belongs to it.
- 6 subject areas
- 200+ glossary terms
- every model computed live
Decompositions, determinants, condition numbers and the quiet reasons a solver loses digits. Cholesky, LU, QR and the singular value decomposition, each with a working example.
Discrete Fourier transforms, windows, convolution and its inverse. Why fftshift exists, what a normalized cutoff frequency means, and how a sinc pulse rings.
Linear programming with lp_solve, the simplex method, complementarity problems and Lemke's algorithm, set out pivot by pivot.
Error functions and their inverses, gamma and incomplete gamma, random draws from named distributions and how to check them.
Interpolation & calculus
On the plinthEnneper surface, x = u − u³/3 + uv², y = v − v³/3 + vu², z = u² − v²
Lagrange polynomials, finite differences of arbitrary order, continued fractions by Lentz's method and numerical derivatives that behave.
Reading ASCII tables and spreadsheets, comparing files, moving matrices between tools without losing precision.
The numerical analysis glossary
Two hundred terms, from ill-conditioned to Householder reflection, each defined in plain words with the formula beside it. Most readers start here, and most come back to it. Every entry links the method page that works the idea through, so the glossary doubles as an index to the whole site.
Open the glossary
Worked explainers in numerical analysis
Four pages go further than the rest. Each one takes a single method from its definition to a full example on paper, then shows where it breaks: a degenerate pivot, an unbounded program, a noisy signal, an argument too close to one.
-
Lemke's algorithm, step by step
Solving a linear complementarity problem with complementary pivoting, from the initial tableau to the ray termination case.
-
lp_solve: a linear programming tutorial
Setting up an objective, constraints and integer variables, then reading the solver's answer and its sensitivity report.
-
Deconvolution explained
Descending polynomial division and why undoing a convolution is easy on paper and fragile with noisy data.
-
The inverse error function
erfinv from its series and rational approximations, with a small calculator and the accuracy you can expect near ±1.
Questions about this interactive guide
What does matrix computation cover?
Matrix computation covers solving linear systems, factoring matrices (LU, QR, Cholesky, the singular value decomposition), finding eigenvalues and measuring how sensitive an answer is to small changes in the data. Most methods in signal processing, optimization and statistics reduce to one of these steps.
Do I need a particular program to follow the pages?
No. The guide runs in any current browser, and the interactive models need nothing installed. Examples are worked by hand first, and code snippets are short and generic, so they translate to NumPy, Octave, Julia or any other matrix language.
How are the 3D models made?
Each model is computed in the browser from the same equation the page explains, then rendered as a plaster object you can turn. Nothing is a pre-drawn picture of the result.
Where should a newcomer to numerical analysis start?
With the glossary for vocabulary, then the linear algebra section, because conditioning and factorization come up again in every other part of the interactive guide. Anyone coming to numerical analysis from pure mathematics will find the floating-point pages the biggest change of habit.