Reference · A to Z
Numerical Analysis Glossary: Terms and Definitions for Matrix Computation

This numerical analysis glossary collects the vocabulary that turns up whenever a computer is asked to do mathematics: how errors arise and grow, how a matrix is factored, how a signal is transformed, how an optimum is located and how a number is stored. Each entry gives a short definition in plain words, and where a compact formula exists it is shown beside the term. The aim is precision without ceremony, so a reader meeting a word such as conditioning, pivoting or aliasing can get its meaning in half a minute and move on.
The terms fall into a few broad families. Error and floating-point arithmetic cover machine epsilon, round-off, truncation and the orders of convergence of iterative schemes. Linear algebra supplies the matrix definitions: factorizations such as LU, QR and the singular value decomposition, eigenvalue concepts, norms, rank and the structured matrices that make fast algorithms possible. Signal processing contributes the discrete Fourier transform, windows, filters, convolution and sampling. Optimization brings in linear programming, complementarity, gradients and minima, while interpolation, quadrature and differential equations describe how continuous problems are put on a grid. Statistics and special functions close the circle with distributions, quantiles, regression and the error and gamma functions.
Definitions are written to be correct first and short second. Where a term has a standard formula, the formula uses plain Unicode symbols, so it can be read in any browser without special fonts or scripts. Many entries point to a method page that works through the idea in detail, including worked examples with every step of the arithmetic shown, which helps when a definition alone does not make the idea concrete.
How to use the numerical analysis glossary
Terms are arranged alphabetically, so the quickest route is to scan to the first letter and read down. Entries refer to each other by name: a definition of the condition number mentions norms, and a definition of the simplex method mentions pivots and the feasible region, so following those names builds the picture in a sensible order.
Some concepts appear under more than one name. Round-off error and rounding are listed separately because one describes a consequence and the other an operation. A reader looking for a topic in a different wording, for example singular values under SVD, will usually find it by searching for the shorter name or the full name.
The formulas are reminders, not derivations. They fix the notation and show the shape of the relationship, while the linked pages give the reasoning and the code-level detail. For a broader tour of the subject, the complete list of methods is organized by topic, and the hubs for linear algebra, signal processing, optimization and statistics group related pages together.
Terms and definitions, from matrix algebra to signals
The entries are grouped by first letter. Open a letter to read its terms; each definition gives the idea in words first and the formula after it, and links the page that works the method through in full. Matrix terms make up the largest group, because almost every other topic in the numerical analysis glossary leans on them.
A
7 terms
- Absolute error
- The magnitude of the difference between a computed value and the true value. It is measured in the units of the quantity itself, so an absolute error of 0.01 means something very different for a result near 1 than for one near 10,000. It is most useful when the scale of the answer is known and fixed.|x̂ − x|
- Adaptive quadrature
- An integration strategy that refines the subdivision only where an error estimate says the integrand is hard, so that effort is spent where it matters. It achieves a requested tolerance efficiently on uneven integrands. It compares two rules of different order on each subinterval and subdivides when they disagree by more than the local tolerance.
- Adaptive step size
- A strategy in which a differential equation solver estimates its local error at each step and enlarges or shrinks the step to keep that error near a tolerance. It is efficient when the solution varies at changing speeds. It rejects steps whose error estimate is too large and retries with a smaller step, and enlarges the step where the solution is smooth.
- Aliasing
- The effect that a frequency above half the sampling rate is indistinguishable, after sampling, from a lower frequency. It cannot be undone afterwards, so signals are low-pass filtered before sampling or before downsampling. Once it has happened it cannot be removed, which is why a wagon wheel on film seems to turn backward.f_alias = |f − k · fs|See: Resampling by Rational Factors
- ASCII
- A character encoding that assigns the numbers 0 to 127 to letters, digits, punctuation and control characters. Plain-text data files that contain only these characters are often called ASCII files. Text files with only these characters are readable by nearly every program, which makes them the safest format for exchanging tables.See: ASCII to Double: Converting Text to Floating-Point Numbers, Integer to String Conversion: Digits, Padding and Bases
- Autocorrelation
- The correlation of a signal with a delayed copy of itself, as a function of the delay. It peaks at zero delay, reveals periodicity and, by the Wiener–Khinchin theorem, is the Fourier transform of the power spectrum. For white noise it is a spike at zero delay and near zero elsewhere, which is how white noise is recognized.R[τ] = ∑ₙ x[n] x[n + τ]See: Statistical Time Series Analysis (STSA)
- AWGN
- Additive white Gaussian noise: a noise model in which independent samples with a normal distribution and flat spectrum are added to the signal. It is the default channel model in simulation of communication systems. To simulate it at a given signal-to-noise ratio, the noise variance is set from the measured signal power before it is added.y = x + n, n ~ N(0, σ²)See: Additive White Gaussian Noise (AWGN)
B
23 terms
- Back substitution
- The step that solves an upper triangular system by computing the last unknown first and working upward, using the already known values. Forward substitution is the mirror procedure for lower triangular systems. Each costs about n² operations. The cost is small compared with the factorization that produced the triangular matrix.xᵢ = (bᵢ − ∑ⱼ>ᵢ uᵢⱼxⱼ) / uᵢᵢ
- Backward error
- The size of the smallest change to the input for which a computed answer is the exact solution. An algorithm is backward stable if this change is comparable to machine epsilon. A small backward error combined with a small condition number guarantees a small forward error.forward error ≲ κ × backward error
- Band-pass filter
- A filter that passes only the components between a lower and an upper cutoff frequency. It isolates a frequency band of interest, such as one communication channel. It can be built from a low-pass and a high-pass filter in series, or designed directly with a center frequency and a width.
- Band-stop filter
- A filter that attenuates a band between two cutoff frequencies and passes everything else. A narrow band-stop filter, or notch filter, removes a single interfering tone such as mains hum. It is the complement of a band-pass filter, so subtracting the band-pass output from the input gives the band-stop output.
- Banded matrix
- A matrix whose nonzero entries lie within a fixed distance of the main diagonal. Storing and factoring only the band reduces the cost of a solve from O(n³) to O(nb²), where b is the half-bandwidth. Tridiagonal matrices are the simplest banded case, and band storage keeps only the diagonals that are not zero.
- Basic feasible solution
- A vertex of the feasible region of a linear program in standard form, obtained by setting the non-basic variables to zero and solving for the basic ones. The simplex method moves between such solutions. There are finitely many of them, which is why a linear program that has an optimum always has an optimum at one.See: lp_solve Linear Programming Tutorial: Model, Solution and Worked Example
- Benchmark
- A repeatable timing measurement of code on a fixed problem. Good benchmarks run the work several times, ignore the first warm-up run and report the spread, not just a single number. Results depend on hardware, library versions and input size, so comparisons are only fair when these are held fixed.See: Benchmarking Numerical Code: Methods and Mistakes
- Bessel function
- A solution of Bessel's differential equation, arising in problems with cylindrical symmetry such as vibrating drums and wave guides. Functions of the first kind are finite at the origin; those of the second kind are not. They oscillate with slowly decaying amplitude, and codes use series near the origin and asymptotic forms far from it.
- Beta function
- A function of two positive arguments defined by an integral over the unit interval and related to the gamma function. It normalizes the beta distribution and appears in the distribution functions of Student's t and the F distribution. It is symmetric in its two arguments, and for integers it reduces to a ratio of factorials, so it is computed through logarithms.B(a, b) = Γ(a)Γ(b) / Γ(a + b)See: Student t Tail Probability (ttail), F Distribution Tail Probability (ftail)
- Big O notation
- A way to describe how the cost of an algorithm grows with problem size, keeping only the dominant term. Dense LU factorization costs O(n³) operations and the FFT costs O(N log N). It ignores constants, so an O(n²) method can beat an O(n log n) one on small inputs.O(n³)See: Benchmarking Numerical Code: Methods and Mistakes
- Bilinear interpolation
- Interpolation on a rectangular grid in which a value inside a cell is computed by linear interpolation first along one axis and then along the other. It is continuous across cells but not smooth. It is exact for functions of the form a + bx + cy + dxy, and gives a simple, though not smooth, resampling of images.f ≈ a + bx + cy + dxySee: Two-Dimensional Interpolation (interp2)
- Bin
- One of the consecutive intervals into which the range of data is divided in a histogram or a frequency count. In a DFT the term is used for a single frequency sample. Equal-width bins are the default, and rules such as the Freedman–Diaconis rule suggest widths from the spread and size of the data.See: Histograms: Bins, Counts and Density
- Binary file
- A file whose bytes are not meant to be read as text, such as a stored array of raw floating-point values. It is compact and exact, but depends on the byte order and the format of the machine that wrote it.
- Binomial distribution
- The distribution of the number of successes in n independent trials, each with the same success probability p. Its mean is np and its variance np(1 − p). For large n with moderate p it is close to a normal distribution, and for large n with small p it is close to Poisson.P(k) = C(n, k) pᵏ (1 − p)ⁿ⁻ᵏSee: Binomial Random Numbers (binornd)
- Bisection method
- A bracketing method for f(x) = 0 on an interval [a, b] where f changes sign. It halves the interval at every step and keeps the half that still contains the sign change. Convergence is only linear, but it is guaranteed for any continuous function.m = (a + b) / 2
- Blackman window
- A window formed from three cosine terms, with much lower side lobes than Hann or Hamming at the cost of a wider main lobe. It is chosen when distant weak components must be seen beside a strong one. Its first side lobe is more than 50 dB below the peak, though the exact figure depends on the variant of coefficients used.w[n] = 0.42 − 0.5 cos(2πn/(N−1)) + 0.08 cos(4πn/(N−1))See: Blackman Window: Formula and Properties
- Block matrix
- A matrix partitioned into rectangular submatrices, which are treated as single entries in multiplication and factorization. Working blockwise improves use of the processor cache and describes many structured problems compactly. A block with a zero submatrix lets elimination skip work, and Schur complements arise naturally from block factorization.
- Boundary value problem
- A differential equation in which conditions are given at two or more points instead of a single starting point. Solution methods include shooting and finite differences. Finite-difference discretization turns it into a large sparse linear or nonlinear system, which is then solved as one.
- Bracketing
- The practice of enclosing a root or a minimum in an interval known to contain it, for example because a continuous function changes sign across the interval. Bracketing methods trade speed for a guarantee of convergence. The interval is then shrunk until it is smaller than the requested tolerance, as bisection does.
- Branch and bound
- A search procedure for integer programs that solves a relaxed problem, splits on a fractional variable into two subproblems and discards branches whose bound cannot beat the best integer solution found so far. Good bounds prune large parts of the search tree, and the quality of the relaxation determines how quickly it ends.See: lp_solve Linear Programming Tutorial: Model, Solution and Worked Example
- Brent's method
- A robust root finder that combines bisection, the secant method and inverse quadratic interpolation. It keeps a bracket that is guaranteed to contain a root, so it cannot fail like pure secant steps, yet it usually converges almost as fast as them.
- Broadcasting
- The rule that lets an operation combine arrays of different shapes by virtually repeating the smaller one along missing dimensions, such as subtracting a row of column means from every row of a matrix. Dimensions must match or be equal to one, and an operation between a 3 × 1 and a 1 × 4 array gives a 3 × 4 array.
- Butterworth filter
- A filter designed to have a magnitude response that is as flat as possible in the passband, with no ripple, and that falls off monotonically. A higher order gives a steeper transition. Its half-power point sits at the cutoff regardless of order, and its poles lie evenly spaced on a semicircle in the s-plane.|H(jω)|² = 1 / (1 + (ω/ω_c)²ⁿ)See: Butterworth Polynomial: Coefficients and Poles, Analog Filter Design: From Specs to Order and Cutoff
C
38 terms
- Catastrophic cancellation
- The sudden loss of significant digits when two nearly equal numbers are subtracted. The leading digits agree and vanish, leaving a result dominated by earlier rounding errors. It can often be avoided by rewriting the expression algebraically, for example computing the smaller root of a quadratic from the product of the roots.
- Central difference
- A derivative approximation that uses points on both sides of x. It is second-order accurate, with error proportional to h², one order better than the one-sided versions. It needs values on both sides and so cannot be used at the boundary of the data, where one-sided formulas replace it.f′(x) ≈ (f(x + h) − f(x − h)) / 2hSee: Finite Differences of Arbitrary Order: Formulas, Stencils and Examples
- Central limit theorem
- The result that the standardized sum or mean of many independent random variables with finite variance tends to a normal distribution, whatever the shape of the individual distributions. It explains why the normal law is so common. The approach to normality is faster for symmetric distributions.
- Characteristic polynomial
- The polynomial det(A − λI) of degree n whose roots are the eigenvalues of an n × n matrix. Computing eigenvalues by finding its roots is numerically unreliable, so practical methods work on the matrix directly. The constant term is the determinant up to sign, and the coefficient of the next-highest power is the negated trace.p(λ) = det(A − λI)
- Chebyshev polynomials
- A family of polynomials Tₙ defined by Tₙ(cos θ) = cos(nθ) and orthogonal on [−1, 1] with a specific weight. Their zeros are good interpolation nodes, since they avoid the large oscillations of equally spaced points near the interval ends.Tₙ(cos θ) = cos(nθ)
- Checksum
- A short value computed from the contents of a file or message, used to detect accidental corruption. If the checksum of a received file differs from the original, the data changed. A cryptographic hash such as SHA-256 detects tampering as well, whereas a simple CRC only catches random transmission errors.See: Comparing Two Files: Line Diffs and Numeric Tolerances
- Chi-squared distribution
- The distribution of a sum of squares of independent standard normal variables, with the number of terms as its degrees of freedom. It underlies goodness-of-fit tests and confidence intervals for variances. Its mean equals the degrees of freedom and its variance twice that, and it becomes close to normal for many degrees of freedom.χ² = ∑ zᵢ²See: Incomplete Gamma Function
- Cholesky factorization
- A factorization of a symmetric positive definite matrix into a lower triangular matrix and its transpose. It needs about half the work of LU, requires no pivoting and fails, usefully, when the matrix is not positive definite. The factor is unique when its diagonal is required to be positive.A = LLᵀSee: LU Factorization of a Matrix: Method and Worked Example
- Circulant matrix
- A Toeplitz matrix in which every row is the previous row shifted one position cyclically. Circulant matrices are diagonalized by the discrete Fourier transform, so multiplying by one is a circular convolution that the FFT computes quickly. Its eigenvalues are the DFT of its first column, which is the reason that circulant systems are solved so efficiently.See: Circular Shift of a Matrix (Shift Matrix)
- Circular convolution
- Convolution in which the sequences are treated as periodic with a common length, so results wrap around the end. It equals pointwise multiplication in the DFT domain, which is why FFT-based convolution must pad to avoid wrap-around. Padding both sequences with zeros to the full output length turns circular convolution into the ordinary linear one.(x ⊛ h)[n] = ∑ₖ x[k] h[(n − k) mod N]See: Circular Shift of a Matrix (Shift Matrix)
- Circular shift
- A rotation of the entries of a vector or matrix in which elements pushed off one end re-enter at the other. It corresponds to multiplying the DFT by a complex phase ramp. In matrices it can be applied along rows or along columns, and shifting by half the length is exactly what fftshift does.y[n] = x[(n − s) mod N]See: Circular Shift of a Matrix (Shift Matrix), fftshift and the Centered Spectrum
- Coefficient of determination
- The fraction of the variance of the data that a regression model explains. It lies between 0 and 1 for a least-squares fit with an intercept, and a high value does not guarantee that the model is correct. Adding variables never lowers it, so adjusted versions are used to compare models of different size.R² = 1 − SS_res / SS_tot
- Companion matrix
- A square matrix whose characteristic polynomial equals a given monic polynomial. Its eigenvalues are therefore the roots of that polynomial, which turns root finding into an eigenvalue problem. This is how many numerical packages compute polynomial roots. Its entries are the negated coefficients of the polynomial along one row or column, with ones on the adjacent diagonal.
- Complementarity
- A condition in which two non-negative quantities have a zero product, so at least one of them is zero. It appears in the optimality conditions of linear and quadratic programs and in contact problems. In the linear programming optimality conditions, a variable and its dual slack cannot both be positive, which is complementary slackness.x ≥ 0, y ≥ 0, xᵀy = 0See: Lemke Algorithm for the Linear Complementarity Problem: Step by Step Example
- Complementary error function
- One minus the error function. It is used for tail probabilities because computing it directly avoids the cancellation that subtracting erf from 1 would cause for large arguments. Its asymptotic behavior for large x is dominated by e^(−x²), so values underflow quickly beyond x near 26 in double precision.erfc(x) = 1 − erf(x)See: Inverse Error Function (erfinv): Formula, Calculator Method and Table of Values
- Complete pivoting
- A pivoting strategy that searches the entire remaining submatrix for the largest entry and swaps both rows and columns to place it on the diagonal. It has better worst-case stability than partial pivoting but costs more comparisons, so it is rarely used.
- Complex conjugate
- For a complex number a + bi, the number a − bi, with the sign of the imaginary part flipped. Multiplying a number by its conjugate gives the squared magnitude. For matrices the conjugate is taken entry by entry. Real numbers equal their own conjugate, and the roots of a real polynomial come in conjugate pairs.z̄ = a − bi, z z̄ = |z|²See: Complex Conjugate of Numbers, Vectors and Matrices
- Condition number
- A measure of how much a problem amplifies relative errors in its input. For solving Ax = b it is the product of the norms of A and its inverse, and it is at least 1. A value near 10ᵏ means roughly k decimal digits of accuracy may be lost in the solution.κ(A) = ‖A‖ · ‖A⁻¹‖See: LU Factorization of a Matrix: Method and Worked Example
- Confidence interval
- A range computed from data that, in repeated sampling, contains the true parameter a stated fraction of the time, such as 95 percent. It is a statement about the procedure, not about the single computed range. Wider intervals come from higher confidence levels or smaller samples, and the width falls like one over the square root of n.x̄ ± t · s / √nSee: Student t Tail Probability (ttail)
- Conjugate gradient method
- An iterative method for symmetric positive definite systems that minimizes the error in the energy norm over growing Krylov subspaces. In exact arithmetic it finishes in at most n steps, and in practice a good approximation arrives much sooner, especially with a preconditioner.αₖ = rₖᵀrₖ / pₖᵀApₖ
- Constraint
- A condition that the variables of an optimization problem must satisfy, written as an equation or an inequality. Together the constraints define the feasible region. Equality constraints restrict the solution to a surface, while inequality constraints bound it by half-spaces, and active ones hold with equality. Dropping constraints gives a relaxation of the problem and can only improve the best achievable objective value.See: lp_solve Linear Programming Tutorial: Model, Solution and Worked Example
- Continued fraction
- An expression in which a number is written as a first term plus a fraction whose denominator is again a term plus a fraction, and so on. Truncations form rapidly convergent approximations to many special functions. Many special functions, including the incomplete gamma function, converge faster this way than through their power series.b₀ + a₁ / (b₁ + a₂ / (b₂ + …))See: Evaluating Fractions: Continued Fractions by Lentz's Method
- Contour plot
- A diagram of a function of two variables in which curves connect points of equal value. Closely spaced lines show steep slopes, and closed loops mark peaks and hollows. Levels are chosen evenly or by hand, and the plot is a view of the surface from above with the height encoded as lines.See: Contour Levels: Choosing Values for a Contour Plot, Surface Plot with Contours: Shaded Facets and Base Lines
- Convergence
- The property that the iterates of a numerical method approach the true solution as the iteration count grows or the step size shrinks. Analysis distinguishes whether convergence happens at all, under which conditions on the starting point, and how quickly.
- Convex function
- A function whose graph lies below the chord between any two points. For a convex function every local minimum is a global minimum, which is why convex optimization is tractable. Equivalent for smooth functions is a positive semidefinite Hessian, and sums of convex functions stay convex.f(tx + (1 − t)y) ≤ t f(x) + (1 − t) f(y)
- Convex set
- A set containing the whole line segment between any two of its points. Feasible regions of linear programs are convex, and convexity is what makes local optima global. Intersections of convex sets are convex, which explains why a region defined by linear inequalities is convex.tx + (1 − t)y ∈ C for t ∈ [0, 1]
- Convolution
- An operation that combines two sequences by reversing one, sliding it across the other and summing the products at each position. The output length of full convolution is the sum of the input lengths minus one. It describes the response of a linear time-invariant system to an input.(x ∗ h)[n] = ∑ₖ x[k] h[n − k]See: Convolution of Two Vectors, conv2: Two-Dimensional Convolution
- Correlation
- A standardized measure of the linear association between two variables, between −1 and 1. A value near 0 shows no linear relationship, but not necessarily no relationship at all. It never proves causation. Pearson's coefficient measures only linear association, and a perfect curve can have a correlation of zero.r = cov(x, y) / (sₓ s_y)
- Covariance
- A measure of how two variables vary together: positive when they tend to be above their means at the same time, negative when one is high as the other is low. Its size depends on the units of the variables.cov(x, y) = ∑ (xᵢ − x̄)(yᵢ − ȳ) / (n − 1)
- Covariance matrix
- The square symmetric matrix whose entries are the covariances between every pair of variables. The diagonal holds the variances, and the matrix is positive semidefinite. It is the central object of principal component analysis, whose axes are its eigenvectors. Its eigenvalues are never negative.Σᵢⱼ = cov(xᵢ, xⱼ)
- Cross-correlation
- A measure of similarity between two signals as one is shifted relative to the other. Its peak location gives the delay between them, which makes it a standard tool for time-delay estimation. It is computed quickly through the FFT, by multiplying one spectrum by the conjugate of the other and transforming back.(x ⋆ y)[τ] = ∑ₙ x[n] y[n + τ]
- CSV
- Comma-separated values, a plain-text format for tables in which each line is a record and a delimiter, usually a comma, separates the fields. Fields that contain the delimiter or line breaks are wrapped in double quotes. There is no single binding specification, so decimal commas, quoting and header lines are the usual sources of trouble.See: Quoting Strings: Surrounding Quotes and Embedded Quotes, Reading Spreadsheet Files into a Matrix: Ranges and Gaps
- Cubic spline
- A piecewise cubic polynomial with continuous value, slope and curvature at every interior knot. Specifying end conditions, such as a natural zero-curvature end, makes it unique. Fitting it means solving a tridiagonal linear system for the second derivatives at the knots, which is quick and stable.See: One-Dimensional Interpolation (interp1)
- Cumulative distribution function
- The function giving the probability that a random variable is less than or equal to a value. It rises from 0 to 1, and for continuous variables it is the integral of the probability density. It is nondecreasing and right-continuous, and probabilities of intervals come from its differences at the endpoints.F(x) = P(X ≤ x)See: Student t Tail Probability (ttail)
- Cumulative product
- A running product of the entries of a vector, in which each output is the product of all inputs up to that position. It is the multiplicative counterpart of the cumulative sum. It is computed in a single pass, and a large run of factors greater than 1 or less than 1 can overflow or underflow.yₖ = x₁ x₂ ⋯ xₖSee: Cumulative Product (cumprod) of a Vector or Matrix
- Cumulative sum
- A running total of the entries of a vector, in which each output is the sum of all inputs up to that position. It is the discrete counterpart of integration. Differences of consecutive entries undo it, and subtracting two entries gives the sum over the block between them.yₖ = x₁ + … + xₖ
- Curve fitting
- The process of choosing the parameters of a model function so that it follows data as closely as possible, usually by minimizing the sum of squared deviations. Unlike interpolation, the curve need not pass through the points. Choosing the form of the model matters most, and residual plots show whether the fit has missed a systematic pattern.
- Cutoff frequency
- The frequency at which a filter's response has dropped to a stated fraction of its passband value, commonly 1/√2 in amplitude, which is −3 dB. It marks the edge between the passband and the stopband. For a Butterworth filter this is the −3 dB point at any order, which makes the specification unambiguous.See: Butterworth Polynomial: Coefficients and Poles
D
18 terms
- Decibel
- A logarithmic unit for ratios, equal to ten times the base-10 logarithm of a power ratio or twenty times that of an amplitude ratio. Every 20 dB is a factor of 10 in amplitude, and 6 dB is a factor of about 2.dB = 20 log₁₀(A / A₀)See: Decibels: 20·log10 of an Amplitude Ratio
- Decimation
- Reducing the sampling rate by an integer factor by keeping every M-th sample. The signal must first be low-pass filtered to below the new Nyquist frequency, otherwise aliasing corrupts the result. The total cost is lowered by filtering and discarding together, since outputs that will be thrown away need not be computed.y[n] = x[Mn]See: Resampling by Rational Factors
- Deconvolution
- The inverse of convolution: recovering one sequence from the output and the other. For polynomials it is long division with a remainder. For measured signals it is ill-posed, because noise is amplified wherever the filter response is small, so regularization is used.x = (y ⊘ h)See: Deconvolution Explained: Polynomial Division with a Worked Example
- Degrees of freedom
- The number of values in a calculation that are free to vary. For a sample variance it is the sample size minus one, since the mean has already been estimated from the same data. Each estimated parameter removes one, which is why a sample variance with n values has n − 1.ν = n − 1
- Delimiter
- A character that separates fields in a text file, such as a comma, tab or semicolon. Reading a table correctly requires knowing which one is used and how it is escaped inside quoted fields. In regions that use a decimal comma, files are often separated by semicolons so that the two do not clash.See: Quoting Strings: Surrounding Quotes and Embedded Quotes
- Dense matrix
- A matrix stored with all its entries explicitly, as opposed to a sparse one. Dense algorithms such as LU and QR have a predictable cost proportional to n³ and are the right choice when few entries are zero. Memory use grows with the square of the dimension, so very large dense problems are limited by storage as much as by time.
- Determinant
- A scalar attached to a square matrix that is zero exactly when the matrix is singular. It equals the product of the eigenvalues and, up to sign, the product of the pivots in elimination. It is a poor numerical measure of near-singularity.det A = ∏ λᵢ
- Diagonal dominance
- A matrix is diagonally dominant when, in every row, the diagonal entry is at least as large in magnitude as the sum of the other entries. Strict dominance guarantees nonsingularity and convergence of Jacobi and Gauss–Seidel iterations. It is a sufficient condition only, so many matrices without it still converge, but it is easy to check from the entries.|aᵢᵢ| ≥ ∑ⱼ≠ᵢ |aᵢⱼ|
- Diagonal matrix
- A square matrix with nonzero entries only on its main diagonal. Multiplying by a diagonal matrix scales rows or columns, its eigenvalues are its diagonal entries, and its inverse is found by inverting each entry. Products of diagonal matrices are diagonal, so powers are computed entry by entry, which makes them very cheap.
- Diagonalizable matrix
- A square matrix that is similar to a diagonal matrix, meaning it has a full set of linearly independent eigenvectors. Symmetric matrices are always diagonalizable, whereas defective matrices with repeated eigenvalues may not be. Its powers and exponential then reduce to simple operations on the diagonal matrix of eigenvalues.A = VΛV⁻¹
- Diff
- A comparison of two text files that reports the lines that were added, removed or changed. It is built on finding the longest common subsequence of lines. Output is usually shown with context lines, and a patch made from it can be applied to turn one file into the other.See: Comparing Two Files: Line Diffs and Numeric Tolerances
- Direct method
- A method that solves a linear system in a fixed finite number of steps, such as LU or Cholesky factorization, giving the exact answer in exact arithmetic. It is reliable and reusable for many right-hand sides, but can be costly for very large sparse systems.See: LU Factorization of a Matrix: Method and Worked Example
- Discrete Fourier transform
- A transform that expresses N equally spaced samples as a combination of N complex sinusoids, giving the amplitude and phase at N equally spaced frequencies. Direct evaluation costs N² operations, which the fast Fourier transform reduces. The inverse transform returns the samples, and the transform treats the data as one period of a periodic signal.X[k] = ∑ₙ x[n] e^(−2πi kn/N)See: Inverse Discrete Fourier Transform (IDFT Matrix)
- Discretization error
- The error caused by replacing a continuous problem, such as a differential equation, with one defined on a finite grid or set of steps. It is the global counterpart of local truncation error and usually decreases as the mesh is refined, at a rate fixed by the order of the method.
- Double precision
- The IEEE 754 binary floating-point format that uses 64 bits: one sign bit, 11 exponent bits and 52 fraction bits. It represents about 15 to 17 significant decimal digits, with magnitudes from roughly 10⁻³⁰⁸ to 10³⁰⁸. It is the default numeric type in most scientific software, and its integers are exact up to 2⁵³, about 9.007 × 10¹⁵.64 bits: 1 + 11 + 52
- Dual problem
- The linear program derived from a primal one by exchanging the roles of constraints and variables. Any dual feasible value bounds the primal optimum from below for a minimization, and the bounds meet at the optimum. Solving the dual can be cheaper than solving the primal, and its optimal variables come out of the simplex method for free.See: lp_solve Linear Programming Tutorial: Model, Solution and Worked Example
- Duality
- The pairing of every linear program, the primal, with a second one, the dual, whose variables correspond to the primal constraints. When both have optima their objective values are equal, and the dual gives prices for the constraints. The dual of the dual is the primal, and weak duality guarantees that any feasible dual value bounds any feasible primal value.max bᵀy subject to Aᵀy ≤ cSee: lp_solve Linear Programming Tutorial: Model, Solution and Worked Example
- Dynamic range
- The ratio between the largest and the smallest amplitude that a system or a signal can represent usefully, usually quoted in decibels. A converter with N bits has a dynamic range of roughly 6 dB per bit. Floating-point formats offer a huge dynamic range, whereas fixed-point converters are limited to their number of bits.≈ 6.02 N dB
E
12 terms
- Eigenvalue
- A scalar λ for which Av = λv has a nonzero solution v. It tells how much the matrix stretches along a particular direction. The eigenvalues of an n × n matrix are the roots of its characteristic polynomial and number n counting multiplicity.Av = λvSee: Schur Factorization: The Schur Form of a Matrix, Generalized Eigenvalues and Eigenvectors: Ax = λBx
- Eigenvector
- A nonzero vector v that a matrix only scales, with Av = λv. Eigenvectors of distinct eigenvalues are linearly independent, and those of a symmetric matrix can be chosen orthogonal. Any nonzero multiple of an eigenvector is also one. Eigenvectors are normally scaled to unit length, which still leaves a choice of sign.Av = λvSee: Generalized Eigenvalues and Eigenvectors: Ax = λBx
- Elementwise operation
- An operation applied separately to every entry of a matrix or array, as opposed to a matrix-level operation. In matrix languages, a dot placed before an operator usually marks the elementwise version. The two operands must have the same shape, or one must be a scalar, and the results have that same shape.See: Element-by-Element Multiplication of Matrices
- Endianness
- The order in which the bytes of a multi-byte number are stored: most significant byte first is big-endian, least significant first is little-endian. Binary data moved between machines may need its bytes swapped. Most current desktop processors are little-endian, whereas many network protocols use big-endian order.
- Error function
- The function that gives the probability that a normal random variable lies within a symmetric interval about its mean, up to scaling. It is an integral of a Gaussian and has no elementary antiderivative. It is odd, increases from −1 to 1, and its values at 0.5, 1 and 2 are about 0.5205, 0.8427 and 0.9953.erf(x) = (2/√π) ∫₀ˣ e^(−t²) dtSee: Inverse Error Function (erfinv): Formula, Calculator Method and Table of Values
- Error handling
- The practice of detecting failures such as invalid input, a singular matrix or a missing file and responding in a controlled way instead of producing wrong results silently. Scripts trap errors, report the cause and clean up, and they should never continue as if a failed step had worked.See: Trapping Errors in Scripts: Try, Catch and Clean Up
- Euclidean norm
- The ordinary length of a vector, the square root of the sum of squares of its entries. It is also called the 2-norm and is the norm that orthogonal transformations leave unchanged. Software computes it with scaling, so that squaring very large or very small entries does not overflow or underflow.‖x‖₂ = √(x₁² + … + xₙ²)
- Euler method
- The simplest one-step method for ordinary differential equations, advancing the solution along the tangent line over each step. It has first-order accuracy and is rarely used for serious work, but it explains the idea. Halving the step halves the global error, so reaching high accuracy takes many steps, and better methods are almost always used.yₙ₊₁ = yₙ + h f(tₙ, yₙ)
- Expected value
- The probability-weighted average of the values a random variable can take, the long-run mean of repeated draws. It is linear, so the expected value of a sum is the sum of the expected values. It need not be a value the variable can actually take, and it can be infinite or fail to exist for heavy-tailed distributions.E[X] = ∑ xᵢ P(xᵢ)
- Exponential distribution
- The distribution of waiting time between events of a Poisson process, with a constant rate λ. It is memoryless: the remaining wait does not depend on how long one has already waited. Its mean is 1/λ and its standard deviation equals its mean, which gives a quick check for data.f(x) = λ e^(−λx)
- Exponential smoothing
- A recursive smoothing method in which each estimate is a weighted blend of the newest observation and the previous estimate. Older data decay geometrically in influence, controlled by a smoothing constant α. A small α gives heavy smoothing and slow response, while a value near 1 follows the data closely.sₜ = αxₜ + (1 − α)sₜ₋₁See: Statistical Time Series Analysis (STSA)
- Extrapolation
- Estimating values outside the range of the available data. It is much less reliable than interpolation, because the error of polynomial fits grows rapidly beyond the data. Constant continuation or linear continuation from the last points is safer than evaluating a high-degree polynomial outside the data.See: One-Dimensional Interpolation (interp1)
F
18 terms
- F distribution
- The distribution of the ratio of two independent scaled chi-squared variables, determined by two degrees-of-freedom parameters. It is used to compare variances and in analysis of variance. It is skewed to the right, and a value near 1 suggests the two variances being compared are similar.F = (χ₁²/d₁) / (χ₂²/d₂)See: F Distribution Tail Probability (ftail)
- Factorial
- The product of all positive integers up to n, with 0! defined as 1. It grows very quickly, so numerical code often works with its logarithm computed from the gamma function. It overflows double precision beyond 170!, so large values are handled through the log-gamma function.n! = 1 · 2 ⋯ n
- Fast Fourier transform
- A family of algorithms that compute the discrete Fourier transform in O(N log N) operations instead of O(N²) by splitting the sum recursively. It is fastest when N is a power of two or has only small prime factors. Splitting the sum recursively into even and odd terms, as in the Cooley–Tukey algorithm, is the most common scheme.O(N log N)See: Inverse Fast Fourier Transform (IFFT), nextpow2 and FFT Lengths
- Feasible region
- The set of all points that satisfy every constraint of an optimization problem. For a linear program it is a convex polyhedron, possibly empty or unbounded. A problem is infeasible when the region is empty, and unbounded when the objective can improve without limit across it.F = {x : Ax ≤ b, x ≥ 0}See: lp_solve Linear Programming Tutorial: Model, Solution and Worked Example, Lemke Algorithm for the Linear Complementarity Problem: Step by Step Example
- fftshift
- An operation that rearranges a DFT output so that the zero-frequency component sits in the center of the array, with negative frequencies on the left and positive on the right. It is a circular shift by half the length. Applying it twice restores the original order when the length is even, and it is used so that spectra plot with zero frequency at the center.See: fftshift and the Centered Spectrum
- Fibonacci numbers
- The sequence in which each number is the sum of the two before it, starting from 0 and 1. The ratio of consecutive terms converges to the golden ratio, about 1.618. The closed form by Binet's formula involves the golden ratio, and the numbers grow exponentially at that rate.Fₙ = Fₙ₋₁ + Fₙ₋₂See: Fibonacci Numbers: Recurrence and Computation
- Fill-in
- The creation of new nonzero entries in a sparse matrix during factorization at positions that were zero. Reordering rows and columns before factorizing is used to keep fill-in, and therefore memory and time, small. Reorderings such as minimum degree try to keep it small, and Cholesky factorization of sparse matrices relies heavily on this.
- Filter
- A system that changes the relative strength of the frequency components of a signal, for example passing low frequencies and attenuating high ones. Digital filters are described by their impulse response or by difference equations. It may be analog, built from electronic parts, or digital, working on samples, and the design problem is to meet a response specification.See: Analog Filter Design: From Specs to Order and Cutoff
- Finite difference
- An approximation of a derivative by combinations of function values at nearby grid points. Forward, backward and central differences differ in which points they use and in their order of accuracy. Halving the step reduces truncation error but, below some size, round-off error takes over and the result worsens.f′(x) ≈ (f(x + h) − f(x − h)) / 2hSee: Finite Differences of Arbitrary Order: Formulas, Stencils and Examples
- FIR filter
- A finite impulse response filter, whose output is a weighted sum of a limited number of recent input samples. It is always stable, can have exactly linear phase and is designed by windowing or optimization. The number of coefficients, called taps, sets both the cost per sample and how sharp the transition can be.y[n] = ∑ₖ bₖ x[n − k]See: Raised Cosine Filter: Roll-Off and Impulse Response
- Fixed-point iteration
- A scheme that repeats x ← g(x) until the value stops changing. If g is a contraction near the fixed point, meaning |g′| < 1 there, the iteration converges linearly to x = g(x). Many root-finding and linear-solver methods can be written in this form.xₖ₊₁ = g(xₖ)
- Floating point
- A way of storing real numbers as a sign, a fixed number of significant digits and an exponent, so that the spacing between neighbors grows with magnitude. Most results of arithmetic must be rounded to fit, which gives relative rather than absolute accuracy. The IEEE 754 standard fixes the common formats.x = ±m × 2ᵉ
- Flop
- A floating-point operation, a single addition, subtraction, multiplication or division of floating-point numbers. Operation counts in flops give a machine-independent measure of the work of an algorithm. Counts are approximate and a modern processor's speed is also limited by memory traffic, not only by arithmetic.See: Benchmarking Numerical Code: Methods and Mistakes
- Forward error
- The difference between the computed answer and the true answer to the original problem. It is what the user ultimately cares about. Bounding it requires both the backward error of the algorithm and the condition number of the problem. Backward stable algorithms keep it close to the unavoidable amount.
- Frequency axis
- The vector of frequencies that label the bins of a DFT, running from zero up to just below the sampling rate or, after shifting, from minus to plus the Nyquist frequency. Reading a peak position off a plot requires this vector, otherwise the horizontal scale shows only bin numbers.f[k] = k · fs / NSee: Frequency Axis for a Spectrum
- Frequency bin
- One of the N discrete frequencies at which the DFT is evaluated. Bin k corresponds to the frequency k·fs/N for sampling rate fs, so the spacing between bins, the frequency resolution, is fs/N. Bins beyond half the sampling rate represent negative frequencies of the same real signal, so only the first half is shown.f_k = k · fs / NSee: Frequency Axis for a Spectrum
- Frequency resolution
- The spacing between adjacent DFT bins, equal to the sampling rate divided by the number of samples. It improves only by observing the signal for longer, not by zero padding, which merely interpolates the spectrum. Two sinusoids closer together than this spacing, roughly, cannot be separated, whatever the padding.Δf = fs / NSee: Frequency Axis for a Spectrum
- Frobenius norm
- The matrix norm equal to the square root of the sum of the squares of all entries, the same as the Euclidean norm of the matrix viewed as one long vector. It is easy to compute and is the measure minimized by the best low-rank approximation of the SVD.‖A‖F = √(∑ᵢⱼ aᵢⱼ²)
G
16 terms
- Gamma distribution
- A flexible distribution on the positive numbers with a shape and a scale parameter. The exponential and chi-squared distributions are special cases, and its cumulative distribution is the incomplete gamma function. The sum of independent exponential variables follows it, which makes it a natural model for waiting times for several events.f(x) = xᵏ⁻¹ e^(−x/θ) / (Γ(k) θᵏ)See: Gamma Random Numbers (gamrnd), Incomplete Gamma Function
- Gamma function
- The extension of the factorial to non-integer and complex arguments. It satisfies a recurrence that moves its argument by one, and its values at positive integers are factorials. Γ(1/2) equals √π, and the function has poles at zero and the negative integers, so it is undefined there.Γ(n) = (n − 1)!, Γ(x + 1) = xΓ(x)See: Incomplete Gamma Function
- Gaussian elimination
- The systematic procedure of subtracting multiples of one equation from others to reduce a linear system to triangular form, followed by back substitution. For an n × n system it takes about 2n³/3 floating-point operations and is equivalent to computing an LU factorization.See: LU Factorization of a Matrix: Method and Worked Example
- Gaussian noise
- Random noise whose amplitude at each instant follows a normal distribution. It is the standard model for thermal and measurement noise, justified by the central limit theorem. Combined with a flat spectrum it gives white Gaussian noise, which is the standard model for the thermal noise of electronics.See: Additive White Gaussian Noise (AWGN)
- Gaussian quadrature
- A quadrature rule whose nodes and weights are chosen together to integrate polynomials up to degree 2n − 1 exactly with only n function evaluations. The nodes are the roots of orthogonal polynomials such as Legendre polynomials. Higher dimensions use product rules, which grow expensive quickly, and the weights are positive, which keeps the rule stable.∫₋₁¹ f ≈ ∑ wᵢ f(xᵢ)See: Two-Dimensional Gaussian Quadrature
- Gaussian window
- A window shaped like a bell curve, tapering smoothly toward zero with a width set by a standard-deviation parameter. A Gaussian is its own Fourier transform in shape, so the spectrum of the window has no side lobes beyond truncation.w[n] = exp(−½ ((n − (N−1)/2) / (σ(N−1)/2))²)See: Gaussian Window: Formula and Choice of σ
- Gauss–Seidel method
- An iterative method similar to Jacobi's, except each update immediately uses the newest values computed within the same sweep. It typically converges about twice as fast as Jacobi when both converge, though it is inherently sequential. It overwrites the solution vector in place, so no second copy of it is needed during a sweep.xᵢ⁽ᵏ⁺¹⁾ = (bᵢ − ∑ⱼ<ᵢ aᵢⱼxⱼ⁽ᵏ⁺¹⁾ − ∑ⱼ>ᵢ aᵢⱼxⱼ⁽ᵏ⁾) / aᵢᵢ
- Generalized eigenvalue problem
- The problem of finding λ and nonzero v satisfying Av = λBv for two square matrices A and B. It reduces to the standard problem when B is the identity and arises in vibration analysis and in discriminant analysis. Packages solve it by the QZ algorithm, which avoids inverting B, since B may be singular or badly conditioned.Av = λBvSee: Generalized Eigenvalues and Eigenvectors: Ax = λBx
- Givens rotation
- An orthogonal matrix that rotates in a single coordinate plane and is chosen to zero one chosen entry of a vector or matrix. Givens rotations are useful when only a few entries need eliminating, as in sparse and banded matrices.G = [c s; −s c], c² + s² = 1
- Global minimum
- A point at which a function attains its smallest value over the entire domain. Finding it is hard in general, and local methods can only guarantee a local minimum. For a convex function every local minimum is global, and for others restarts from many points are a common practical strategy.f(x*) ≤ f(x) for all x
- GMRES
- The generalized minimal residual method, an iterative solver for general nonsymmetric systems. At each step it chooses the vector in a growing Krylov subspace that minimizes the residual norm. Its memory grows with the iteration count, so it is usually restarted.min ‖b − Ax‖ over x₀ + Kₖ
- GPU computing
- The use of a graphics processor, which has thousands of simple cores, to run numerical kernels in parallel. It speeds up large matrix and FFT operations but adds cost for moving data between host and device memory. Gains are largest for work with high arithmetic per byte, and small problems may run faster on the main processor.See: GPU Computing for MATLAB-Style Matrix Code
- Gradient
- The vector of first partial derivatives of a scalar function of several variables. It points in the direction of steepest increase, and it vanishes at an unconstrained minimum. The gradient is orthogonal to the level curves of the function, which is the reason it gives the direction of steepest ascent.∇f = (∂f/∂x₁, …, ∂f/∂xₙ)
- Gradient descent
- An optimization method that repeatedly steps from the current point in the direction of the negative gradient, with a step size chosen by a fixed rate or a line search. It is simple and robust but converges linearly. Poor scaling of the variables makes it zigzag slowly, which is the reason that preconditioning and momentum are used.xₖ₊₁ = xₖ − α ∇f(xₖ)
- Gram–Schmidt process
- A procedure that turns a list of linearly independent vectors into an orthonormal list by subtracting from each vector its components along the earlier ones and normalizing. The classical form loses orthogonality in floating point; the modified form is much better.uₖ = vₖ − ∑ⱼ<ₖ (qⱼᵀvₖ) qⱼ
- Group delay
- The negative derivative of a filter's phase response with respect to frequency, giving the delay experienced by a narrow-band component. A constant group delay means no distortion of the signal's shape. For a linear-phase FIR filter of N taps it is constant, equal to (N − 1)/2 samples, which keeps waveform shape intact.τ(ω) = −dφ/dω
H
12 terms
- Hadamard product
- The element-by-element product of two matrices of the same size, written A ∘ B. Unlike the ordinary matrix product it is commutative and requires no compatibility of dimensions beyond equal shape. It is the operation performed by the dotted multiplication operator in matrix languages, and is not the matrix product.(A ∘ B)ᵢⱼ = aᵢⱼbᵢⱼSee: Element-by-Element Multiplication of Matrices
- Hamming window
- A raised-cosine window similar to the Hann window but with a small nonzero pedestal at the ends. The constants are chosen to cancel the nearest side lobe, giving a lower first side lobe than Hann. Its sidelobes fall off slowly farther from the peak, since the ends do not reach zero, unlike the Hann window.w[n] = 0.54 − 0.46 cos(2πn/(N−1))
- Hann window
- A raised-cosine window that falls smoothly to zero at both ends. It offers a good compromise between main-lobe width and side-lobe suppression and is a common default for spectral estimation. It reaches exactly zero at both ends, and it is the common default in spectrum analyzers and in short-time Fourier analysis.w[n] = 0.5 (1 − cos(2πn/(N−1)))
- Hermitian matrix
- A complex square matrix equal to its own conjugate transpose. Hermitian matrices have real eigenvalues and orthogonal eigenvectors, and are the complex analogue of real symmetric matrices. Its diagonal entries are real, and the quadratic form xᴴAx is real for every vector x.A = Aᴴ
- Hessenberg form
- A matrix that is zero below its first subdiagonal. Any square matrix can be reduced to it by orthogonal similarity transformations at modest cost, and the QR algorithm for eigenvalues then runs much faster on the reduced matrix. The reduction is done once, with Householder reflections, in about 10n³/3 operations.See: Schur Factorization: The Schur Form of a Matrix
- Hessian
- The square matrix of second partial derivatives of a scalar function. At a critical point, a positive definite Hessian indicates a local minimum and an indefinite one a saddle. It is symmetric for smooth functions, and Newton's method for optimization solves a system with it at every step.Hᵢⱼ = ∂²f / ∂xᵢ∂xⱼ
- High-pass filter
- A filter that attenuates components below a cutoff frequency and passes those above it. It removes slow drift and constant offsets from measured signals. It can be built from a low-pass filter by subtracting its output from the original signal, a useful identity. Differentiating a signal acts as a crude high-pass filter, which is why derivatives emphasize noise.
- Hilbert matrix
- The square matrix with entries 1/(i + j − 1). It is symmetric positive definite and a classic example of extreme ill-conditioning, with the condition number growing roughly exponentially with size. It is a standard test case for solvers, since even modest sizes such as 12 by 12 are singular to working double precision.Hᵢⱼ = 1 / (i + j − 1)
- Histogram
- A bar chart of how many observations fall into each of a set of consecutive intervals called bins. The choice of bin width shapes the picture, so too few bins hides structure and too many shows noise. Scaling the heights by the bin width and the count makes the area one, so the histogram can be compared with a density.See: Histograms: Bins, Counts and Density
- Horner's method
- A way to evaluate a polynomial using n multiplications and n additions by nesting the terms. It is faster than computing each power separately and has good rounding behavior. It is also the arithmetic behind synthetic division. Dividing a polynomial by a linear factor produces the same intermediate numbers.p(x) = a₀ + x(a₁ + x(a₂ + … ))See: Deconvolution Explained: Polynomial Division with a Worked Example
- Householder reflection
- An orthogonal matrix that reflects vectors across a hyperplane. A single reflection can zero all entries of a column below the diagonal, which makes Householder reflections the workhorse of stable QR factorization and of reduction to Hessenberg form. The reflection is stored by its vector alone, so the full matrix is never formed.H = I − 2vvᵀ / (vᵀv)
- Hypothesis test
- A procedure for deciding whether data are consistent with a stated null hypothesis, by computing a test statistic and comparing it with its distribution under that hypothesis. The null hypothesis is rejected when the p-value falls below a chosen level, commonly 0.05, which is a convention only. It never proves the null hypothesis, it only measures how surprising the data would be if it were true.See: Student t Tail Probability (ttail), F Distribution Tail Probability (ftail)
I
23 terms
- Identity matrix
- The square matrix with ones on the diagonal and zeros elsewhere. Multiplication by it leaves any compatible matrix unchanged, and it is the matrix inverse of itself. It plays the role that the number 1 plays in ordinary multiplication, and columns of it are the standard basis vectors.AI = IA = A
- IEEE 754
- The technical standard that defines binary floating-point formats, rounding rules and the special values infinity and not-a-number. Nearly all modern hardware follows it, which makes floating-point results largely reproducible across machines. Besides the formats, it requires correctly rounded basic operations, so the same sequence of operations gives the same result everywhere.
- IIR filter
- An infinite impulse response filter, whose output depends on past outputs as well as inputs, through feedback. It reaches a sharp cutoff with far fewer coefficients than an FIR filter but can be unstable and has nonlinear phase. Analog prototypes such as Butterworth designs are converted to digital form with the bilinear transform.y[n] = ∑ bₖ x[n − k] − ∑ aₖ y[n − k]See: Analog Filter Design: From Specs to Order and Cutoff
- Ill-conditioned
- Describes a problem whose answer changes by a large amount when the input changes by a small amount. The trouble belongs to the problem, not the algorithm: even a perfect method loses digits on it. Matrices with a very large condition number give ill-conditioned linear systems.See: Left Matrix Division and Linear Least Squares
- Image convolution
- Applying a small kernel by sliding it across an image and summing weighted pixel values. Blurring, sharpening and edge detection are all convolutions with different kernels. A kernel of odd size is centered on each pixel, and pixels near the border need a rule such as padding with zeros.See: conv2: Two-Dimensional Convolution, Image Processing With Matrices
- Implicit method
- A time-stepping method in which the new value appears on both sides of the update formula, so each step requires solving an equation. It costs more per step but remains stable with much larger steps on stiff problems. Backward Euler is the simplest, with first-order accuracy and unconditional stability on decaying problems.yₙ₊₁ = yₙ + h f(tₙ₊₁, yₙ₊₁)
- Impulse response
- The output of a linear time-invariant system when the input is a single unit impulse. It describes the system completely, since the output for any input is the convolution of that input with the impulse response. For a finite filter the impulse response is just the list of its coefficients, which makes FIR filters easy to inspect.y = x ∗ hSee: Convolution of Two Vectors
- Incomplete beta function
- The beta integral taken only up to a limit x, normally scaled to run from 0 to 1. It gives the cumulative distribution of the binomial, Student t and F distributions. It is evaluated by a continued fraction, often with Lentz's method, and used in tail probabilities of several distributions.Iₓ(a, b) = B(x; a, b) / B(a, b)See: Student t Tail Probability (ttail), F Distribution Tail Probability (ftail)
- Incomplete gamma function
- The integral of the gamma integrand from zero to a finite limit, usually divided by the gamma function to give a value between 0 and 1. It gives the cumulative distribution of the gamma and chi-squared distributions. A series is used for small x and a continued fraction for large x, which gives a stable evaluation across the range.P(a, x) = (1/Γ(a)) ∫₀ˣ tᵃ⁻¹ e^(−t) dtSee: Incomplete Gamma Function
- Inf
- The floating-point value for infinity, produced by overflow or by dividing a nonzero number by zero. Positive and negative infinities exist, and arithmetic with them follows the usual limits, though Inf − Inf gives NaN. The standard defines that 1/Inf is zero and that comparisons treat Inf as larger than any finite number.1/0 = Inf
- Infinity norm
- A vector norm equal to the largest absolute value of its entries. The corresponding induced matrix norm is the largest absolute row sum. It is also called the maximum norm and is convenient for bounding the worst-case error across all entries. It is the limit of the p-norm as p grows and is used in error bounds that must hold for every component.‖x‖∞ = maxᵢ |xᵢ|
- Initial value problem
- A differential equation together with the value of the unknown at a starting time. Under mild conditions the solution is unique and can be computed forward in time by a step-by-step method. Solvers advance in steps and estimate their own error, and the step size is adjusted to meet a stated tolerance.See: Matrix ODEs and the Padé Approximation
- Inner product
- A rule combining two vectors into a scalar, which for real column vectors is the sum of products of matching entries. It is zero for perpendicular vectors and, divided by the lengths, gives the cosine of the angle between them.⟨x, y⟩ = ∑ xᵢyᵢ
- Integer overflow
- The wrap-around or error that occurs when an integer calculation exceeds the range of its storage type. A signed 32-bit integer holds values up to 2³¹ − 1, which is 2,147,483,647. Unlike floating point, integer arithmetic usually wraps silently, so large products and counts should use wider types.2³¹ − 1 = 2,147,483,647See: Integer to String Conversion: Digits, Padding and Bases
- Integer programming
- An optimization problem in which some or all variables must take integer values. It is much harder than linear programming and is usually solved by branch and bound or cutting planes. Rounding the linear solution can be infeasible or far from optimal, so special methods are used instead of simple rounding.x ∈ ℤⁿSee: lp_solve Linear Programming Tutorial: Model, Solution and Worked Example
- Interpolation
- The construction of a function that passes exactly through a given set of data points and estimates values between them. Common choices are piecewise linear, polynomial and spline interpolants. The result agrees with the data at the nodes, so it is suited to accurate data and unsuited to noisy data, where fitting is used.See: One-Dimensional Interpolation (interp1), Two-Dimensional Interpolation (interp2)
- Interpolation (signal)
- Increasing the sampling rate by an integer factor, by inserting zeros between the samples and low-pass filtering to fill in the new values. It is the counterpart of decimation. The inserted zeros spread the spectrum into images, and the low-pass filter removes these images, scaling the gain to keep amplitude.See: Resampling by Rational Factors
- Inverse discrete Fourier transform
- The transform that recovers the original samples from their DFT coefficients. It has the same form as the forward transform with the opposite sign in the exponent and a factor of 1/N, so applying both returns the input up to rounding.x[n] = (1/N) ∑ₖ X[k] e^(2πi kn/N)See: Inverse Discrete Fourier Transform (IDFT Matrix), Inverse Fast Fourier Transform (IFFT)
- Inverse error function
- The function erfinv that returns the x for which erf(x) equals a given value between −1 and 1. It is the building block of the inverse normal distribution and is computed from a starting approximation refined by Newton or Halley steps.erf(erfinv(y)) = ySee: Inverse Error Function (erfinv): Formula, Calculator Method and Table of Values, Inverse Normal Distribution (Quantile Function)
- Inverse iteration
- A variant of power iteration that applies (A − μI)⁻¹ at each step, so the iterates converge to the eigenvector whose eigenvalue is closest to the shift μ. Convergence is fast when the shift is a good estimate. A single factorization of the shifted matrix serves every step, so each iteration is inexpensive.(A − μI) vₖ₊₁ = vₖ
- Inverse normal distribution
- The quantile function of the normal distribution, returning the value whose cumulative probability equals a given number. It can be written with the inverse error function. It is used to generate normal random numbers from uniform ones, and to find critical values for confidence intervals.Φ⁻¹(p) = √2 · erfinv(2p − 1)See: Inverse Normal Distribution (Quantile Function), Inverse Error Function (erfinv): Formula, Calculator Method and Table of Values
- Inverse transform sampling
- A way to draw a random number from any distribution by applying its quantile function to a uniform random number on [0, 1]. It is practical whenever the inverse cumulative distribution can be computed. Normal variates are made this way with the inverse error function, though specialized methods are usually faster.X = F⁻¹(U), U ~ Uniform(0, 1)See: Inverse Normal Distribution (Quantile Function)
- Iterative method
- A method that produces a sequence of approximations to the solution of a system, each improving on the last, and stops when the residual is small. It needs only matrix-vector products, which suits large sparse problems where factorization would fill in.
J
2 terms
- Jacobi method
- A stationary iterative method for Ax = b that updates every unknown simultaneously using only values from the previous sweep. It is easy to parallelize but converges slowly and is guaranteed for strictly diagonally dominant matrices. It splits the matrix into diagonal and off-diagonal parts and is mainly used as a smoother or a simple preconditioner.xᵢ⁽ᵏ⁺¹⁾ = (bᵢ − ∑ⱼ≠ᵢ aᵢⱼxⱼ⁽ᵏ⁾) / aᵢᵢ
- Jacobian
- The matrix of first partial derivatives of a vector-valued function, one row per output. It gives the best linear approximation of the function and is the matrix used in Newton's method for systems. For a scalar function it reduces to the transposed gradient, and for a linear map it is the matrix itself.Jᵢⱼ = ∂fᵢ / ∂xⱼ
K
8 terms
- Kaiser window
- A window family with an adjustable parameter β that continuously trades side-lobe level against main-lobe width. It is built from the zeroth-order modified Bessel function and is used widely in filter design. The relation between β and the required attenuation is tabulated, so designers can choose the parameter from a specification.
- Kalman filter
- A recursive algorithm that estimates the state of a linear dynamic system from noisy measurements, alternating a prediction from the model with a correction from each new observation. It is optimal in the least-squares sense for Gaussian noise. It keeps a running estimate of the state along with its uncertainty, so each update costs the same however long the record is.x̂ₖ = x̂ₖ⁻ + Kₖ(zₖ − Hx̂ₖ⁻)See: Kalman-Bucy Filtering: The Continuous-Time Kalman Filter, A Kalman Filter Worked Example
- Kalman gain
- The weighting matrix in a Kalman filter that decides how much a new measurement should correct the predicted state. It is large when the measurement is trusted more than the prediction and small in the opposite case. It is computed from the predicted covariance and the measurement noise, and tends to a constant in a steady-state problem.K = P Hᵀ (H P Hᵀ + R)⁻¹See: Kalman-Bucy Filtering: The Continuous-Time Kalman Filter
- Karush–Kuhn–Tucker conditions
- Necessary conditions for optimality in nonlinear programming with inequality constraints, combining stationarity of the Lagrangian, feasibility, non-negative multipliers and complementary slackness. For convex problems they are also sufficient. They generalize the Lagrange condition to inequalities and are the basis for most algorithms for constrained optimization.
- Kernel
- A small array of weights used in convolution. Its shape determines the effect on the image or signal: a uniform kernel blurs, while one with positive and negative entries emphasizes edges. The sum of its entries sets the overall brightness change, which is why smoothing kernels are normalized to sum to one.See: conv2: Two-Dimensional Convolution
- Kronecker product
- A block matrix formed by multiplying every entry of one matrix by the whole of another. It arises in the discretization of problems on grids and in vectorizing matrix equations. The result has size equal to the products of the dimensions, so it is normally never formed explicitly for large factors.A ⊗ B = [aᵢⱼB]
- Krylov subspace
- The space spanned by the vectors b, Ab, A²b, …, Aᵏ⁻¹b for a matrix A and a starting vector. Conjugate gradient, GMRES and Lanczos-type eigenvalue methods all search for good approximations inside such subspaces. Its dimension grows by one with each matrix-vector product, so only the action of the matrix is ever needed.Kₖ = span{b, Ab, …, Aᵏ⁻¹b}
- Kurtosis
- A measure of how heavy the tails of a distribution are, or how peaked it is. The normal distribution has a kurtosis of 3, and larger values mean more extreme outliers than normal. Excess kurtosis subtracts 3, so that the normal distribution has zero excess, and heavy-tailed data have positive values.E[(X − μ)⁴] / σ⁴
L
14 terms
- Lagrange interpolation
- The construction of the unique polynomial of degree n − 1 through n points as a sum of the data values times basis polynomials, each equal to 1 at its own node and 0 at the others. The polynomial is unique for the nodes, and in practice the barycentric form is used because it is stable and cheap.p(x) = ∑ yᵢ ∏ⱼ≠ᵢ (x − xⱼ)/(xᵢ − xⱼ)See: One-Dimensional Interpolation (interp1)
- Lagrange multiplier
- A coefficient attached to a constraint in the Lagrangian function that turns a constrained problem into a search for stationary points. Its value measures the sensitivity of the optimum to that constraint. At an optimum the gradient of the objective is a multiple of the constraint gradient, and the multiplier gives that factor.∇f = λ ∇g
- Least squares
- The problem of finding x that minimizes the sum of squared residuals ‖Ax − b‖² for a system with more equations than unknowns. The solution satisfies the normal equations but is better computed with QR or the SVD to avoid squaring the condition number.minₓ ‖Ax − b‖₂See: Left Matrix Division and Linear Least Squares
- Lemke's algorithm
- A pivoting method for the linear complementarity problem that adds an artificial variable and follows a path of almost-complementary solutions. It ends at a solution or, under some conditions, shows that the problem has none. It is a complementary pivoting method, in which the entering variable is always the complement of the one that just left.See: Lemke Algorithm for the Linear Complementarity Problem: Step by Step Example
- Lentz's method
- An algorithm for evaluating a continued fraction from the top down, updating the value term by term and stopping when the change is negligible. It needs no prior estimate of how many terms are required and guards against division by zero.See: Evaluating Fractions: Continued Fractions by Lentz's Method
- Line search
- A procedure that picks the step length along a chosen search direction, either by minimizing the function along it or by finding a step that gives sufficient decrease. It makes descent methods globally convergent. Exact minimization along the line is rarely worthwhile, and backtracking until a sufficient-decrease test passes is the usual choice.
- Linear complementarity problem
- Given a square matrix M and a vector q, find vectors w and z that are non-negative, satisfy w = Mz + q and have zero inner product. It covers linear and quadratic programs and bimatrix games. Lemke's method solves it with pivots on a tableau, and a solution is guaranteed for several important matrix classes.w = Mz + q, w, z ≥ 0, wᵀz = 0See: Lemke Algorithm for the Linear Complementarity Problem: Step by Step Example
- Linear convergence
- Convergence in which the error shrinks by a roughly constant factor each iteration, eₖ₊₁ ≈ C·eₖ with 0 < C < 1. Every step gains a fixed number of correct digits. Bisection and many fixed-point iterations behave this way, and the factor C measures how fast they are.|eₖ₊₁| ≈ C |eₖ|, 0 < C < 1
- Linear independence
- A set of vectors is linearly independent if the only combination of them that gives the zero vector is the one with all coefficients zero. A matrix has full column rank exactly when its columns are linearly independent. Dependent vectors make the matrix rank deficient and the solution of related systems non-unique or unstable.
- Linear interpolation
- Estimating a value between two known points by assuming the function follows the straight line joining them. It is continuous but has corners at the data points, and its error shrinks with the square of the spacing. It requires the data to be sorted by x, and a lookup finds the interval containing the query point first.y = y₀ + (y₁ − y₀)(x − x₀) / (x₁ − x₀)See: One-Dimensional Interpolation (interp1)
- Linear programming
- The problem of optimizing a linear objective function subject to linear equality and inequality constraints. The feasible set is a convex polyhedron, and an optimum, when one exists, is attained at a vertex. The standard form minimizes the cost with equality constraints and non-negative variables, and other forms convert into it with slack variables.min cᵀx subject to Ax ≤ b, x ≥ 0See: lp_solve Linear Programming Tutorial: Model, Solution and Worked Example, Optimization: Linear Programming, Pivoting and Complementarity
- Local minimum
- A point where a function is no larger than at any nearby point. In a nonconvex problem a local minimum need not be the lowest value overall. The gradient vanishes and the Hessian is positive semidefinite there, but these conditions do not tell whether the minimum is global.f(x*) ≤ f(x) for ‖x − x*‖ < δ
- Low-pass filter
- A filter that passes components below a cutoff frequency and attenuates those above it. It is used to remove noise before downsampling and to prevent aliasing. An ideal one has a sharp cutoff, which real filters approximate with a transition band of finite width.See: Analog Filter Design: From Specs to Order and Cutoff
- LU factorization
- A factorization of a square matrix into a lower triangular factor L and an upper triangular factor U, usually with row permutations P. It records Gaussian elimination so that several right-hand sides can be solved cheaply by one forward and one back substitution.PA = LUSee: LU Factorization of a Matrix: Method and Worked Example
M
13 terms
- Machine epsilon
- The gap between 1 and the next larger representable floating-point number. For IEEE double precision it equals 2⁻⁵², about 2.22 × 10⁻¹⁶. Half of this value bounds the relative rounding error of a single correctly rounded operation, so it sets the scale of attainable accuracy.ε = 2⁻⁵² ≈ 2.22 × 10⁻¹⁶
- Matrix division
- The operation of solving a linear system written as division, where A\b means solving Ax = b and b/A means solving xA = b. For square nonsingular matrices it uses a factorization, and for rectangular ones it returns a least-squares solution.x = A \ bSee: Matrix Division: Solving Ax = b and xA = b, Left Matrix Division and Linear Least Squares
- Matrix exponential
- The matrix function defined by the power series of the exponential. It gives the solution x(t) = e^(At) x(0) of the linear system x′ = Ax. It is computed by scaling and squaring with a Padé approximation, not by summing the series naively.e^A = I + A + A²/2! + A³/3! + …See: Matrix ODEs and the Padé Approximation
- Matrix inverse
- For a square matrix A, the matrix A⁻¹ with A A⁻¹ = I. It exists only when A is nonsingular. In numerical work it is rarely formed explicitly, because solving the system by factorization is faster and more accurate. For a product, the inverse reverses the order: the inverse of AB is B⁻¹A⁻¹.A A⁻¹ = A⁻¹ A = ISee: Matrix Division: Solving Ax = b and xA = b
- Matrix norm
- A function that assigns a non-negative size to a matrix and respects scaling and the triangle inequality. Induced norms measure the largest stretching of a vector norm, as in the 1-norm (maximum column sum) and infinity norm (maximum row sum).‖A‖ = max ‖Ax‖ / ‖x‖
- Maximum likelihood
- A principle for estimating parameters by choosing the values that make the observed data most probable. For normal data with a known variance it leads to the sample mean. Most often the logarithm of the likelihood is maximized, because it turns products into sums and is easier to handle numerically.θ̂ = arg max L(θ; x)
- Mean
- The sum of a set of values divided by their count, the arithmetic average. It is the point about which the sum of deviations is zero and is sensitive to extreme values. It is the least-squares constant fit to the data, and the mean of the sum of variables is the sum of their means.x̄ = (1/n) ∑ xᵢ
- Median
- The middle value of a sorted set of numbers, or the average of the two middle values when the count is even. Half the observations lie below it, and it is far less affected by outliers than the mean. It is robust to outliers, and sorting is the straightforward way to find it, though selection algorithms avoid a full sort.
- Missing data
- Observations that were not recorded or are unavailable. In numerical work they are often marked with NaN or a sentinel value, and they must be removed, filled or handled explicitly, because they otherwise contaminate sums and averages. A sum over data containing NaN becomes NaN, so functions that skip missing entries are used when appropriate.NaN
- Mode
- The value that occurs most often in a data set, or the location of the peak of a distribution. A distribution can have more than one mode. For continuous data it is found as the peak of a density estimate, and for categorical data by counting.
- Monte Carlo integration
- The estimation of an integral by averaging the integrand at random points. Its error decreases like one over the square root of the sample count, independently of dimension, which makes it useful in high dimensions. Variance reduction methods such as importance sampling and stratification lower the error for the same number of points.∫ f ≈ V · mean f(Xᵢ)
- Monte Carlo method
- A method that estimates a quantity by simulating many random trials and averaging the outcomes. The error shrinks in proportion to one over the square root of the number of trials, and the method works in problems of any dimension.error ∝ 1 / √N
- Moving average
- A smoothing operation that replaces each sample by the mean of a window of neighboring samples. It is the simplest low-pass FIR filter, with all coefficients equal. A longer window gives smoother output but more delay, and it blurs sharp changes in the signal.yₙ = (1/M) ∑ₖ₌₀^(M−1) xₙ₋ₖ
N
12 terms
- NaN
- Not a number, the special floating-point value produced by undefined operations such as 0/0 or the square root of a negative real number. It propagates through calculations, and any comparison with it, including with itself, is false except inequality. To test for it, a dedicated function is used and not an equality comparison, because the comparison with itself fails.NaN ≠ NaN
- Newton divided differences
- A scheme for writing the interpolating polynomial in a nested form whose coefficients are divided differences of the data. Adding a data point only adds one new term. The table of differences is built once, and evaluating the polynomial afterward needs only a nested multiplication.f[x₀, x₁] = (f(x₁) − f(x₀)) / (x₁ − x₀)See: Finite Differences of Arbitrary Order: Formulas, Stencils and Examples
- Newton's method
- An iteration for solving f(x) = 0 that replaces the function by its tangent line at the current guess and moves to where that line crosses zero. Near a simple root it converges quadratically, but it needs the derivative and can diverge from a poor start.xₖ₊₁ = xₖ − f(xₖ) / f′(xₖ)
- Next power of two
- The smallest power of two that is at least as large as a given integer. FFT routines are often fastest at such lengths, so signals are zero padded to this value. For a length of 1000 samples, the next power of two is 1024, so only 24 zeros are added.2^⌈log₂ n⌉See: nextpow2 and FFT Lengths
- Normal distribution
- The bell-shaped probability distribution fixed by its mean and standard deviation. About 68 percent of values fall within one standard deviation of the mean and about 95 percent within two. It arises as the limit of sums of many independent effects.f(x) = exp(−(x − μ)² / 2σ²) / (σ√(2π))See: Normal Probability Density (normpdf), Inverse Normal Distribution (Quantile Function)
- Normal equations
- The square system AᵀAx = Aᵀb whose solution is the least-squares solution of Ax ≈ b. They are simple to form but square the condition number of A, so orthogonal factorizations are preferred for ill-conditioned problems. Forming AᵀA can also turn a sparse matrix into a dense one, and it is best reserved for well-conditioned fits.AᵀAx = AᵀbSee: Left Matrix Division and Linear Least Squares
- Normalization
- Scaling data or a function so that it has a standard size, such as a sum of 1, a maximum of 1 or a unit norm. It makes quantities comparable and often improves numerical conditioning. Which kind to use depends on the purpose, such as unit area for a density, or unit length for a direction vector.x / ‖x‖
- Null space
- The set of all vectors x with Ax = 0. It is a subspace whose dimension is the number of columns minus the rank. An orthonormal basis for it can be read from the right singular vectors of the SVD that belong to zero singular values.N(A) = {x : Ax = 0}
- Numerical differentiation
- The approximate computation of derivatives from function values. It is inherently sensitive to noise and rounding, because small step sizes reduce truncation error but amplify round-off error. A step near the cube root of machine epsilon, times the scale of x, is the usual choice for central differences.See: Finite Differences of Arbitrary Order: Formulas, Stencils and Examples
- Numerical stability
- A property of an algorithm: small errors introduced during the computation, such as rounding, do not grow out of proportion to the size of the result. A backward stable method returns the exact answer to a slightly perturbed problem. Stability and conditioning together determine the accuracy of the final answer.
- Nyquist frequency
- Half the sampling rate, the highest frequency that sampled data can represent without ambiguity. Components above it fold back into the band below it as aliases. A sinusoid exactly at this frequency is sampled at its peaks and zero crossings in a way that makes its phase ambiguous.f_N = fs / 2See: Frequency Axis for a Spectrum
- Nyquist rate
- The minimum sampling rate, twice the highest frequency present, at which a band-limited signal can in principle be reconstructed exactly from its samples. It is defined by the signal's bandwidth, not by the sampling rate in use, and practical systems sample somewhat above it. Sampling exactly at the Nyquist rate is the limiting case, and in practice a margin of at least a few percent is kept.fs ≥ 2 f_maxSee: The sinc Function: sinc(x)
O
9 terms
- Objective function
- The quantity that an optimization problem seeks to minimize or maximize, expressed as a function of the decision variables. Maximizing a function is the same as minimizing its negative. In linear programming it is a weighted sum of the variables, with the weights called cost coefficients.min f(x)See: lp_solve Linear Programming Tutorial: Model, Solution and Worked Example
- Order of convergence
- The exponent p in the relation between successive errors of an iteration, eₖ₊₁ ≈ C·eₖᵖ. Order 1 is linear, order 2 is quadratic, and values in between are superlinear. Higher order means the number of correct digits grows faster per step once the iterate is close to the answer.|eₖ₊₁| ≈ C |eₖ|ᵖ
- Ordinary differential equation
- An equation relating a function of one variable to its derivatives. Numerical solution advances an initial value problem step by step in time from given starting conditions. Higher-order equations are rewritten as first-order systems, so one solver for first-order systems covers them all.y′ = f(t, y), y(t₀) = y₀See: Matrix ODEs and the Padé Approximation
- Orthogonal
- Describes two vectors whose inner product is zero, meaning they are perpendicular. A set of mutually orthogonal vectors is linearly independent. The word is also used for functions whose integral of the product, with a weight, vanishes. Orthogonality is what lets a vector be split into independent components along orthogonal directions, simply by taking inner products.xᵀy = 0See: Orthonormal Basis for the Range (Column Space) of a Matrix
- Orthogonal matrix
- A real square matrix whose columns are orthonormal, so that its transpose is its inverse. Multiplication by it preserves lengths and angles, which makes algorithms built on orthogonal transformations numerically very stable. Its determinant is either 1 or −1, and its condition number in the 2-norm is exactly 1.QᵀQ = ISee: Orthonormal Basis for the Range (Column Space) of a Matrix
- Orthonormal basis
- A set of vectors that are mutually perpendicular and each of length 1. Expressing a vector in such a basis requires only inner products. An orthonormal basis for the range of a matrix can be obtained from QR or the SVD.qᵢᵀqⱼ = δᵢⱼSee: Orthonormal Basis for the Range (Column Space) of a Matrix
- Outlier
- An observation far from the others, whether through error or because it comes from a different process. Outliers can dominate least-squares fits and the mean, so robust statistics such as the median are used. Plotting the data, or checking values far from the median in units of the median absolute deviation, finds likely cases.
- Overdetermined system
- A linear system with more equations than unknowns. It usually has no exact solution, so the best fit in the least-squares sense is computed instead. Data fitting problems are typically of this kind, with many measurements and a few model parameters. When the equations are consistent a unique exact solution may still exist, but data with noise rarely satisfy them all.See: Left Matrix Division and Linear Least Squares
- Overflow
- The condition in which the result of an operation is larger than the largest representable number. In IEEE arithmetic the result becomes infinity instead of stopping the program. Scaling values or working with logarithms prevents it, as when the product of many factors is computed as a sum of logs.
P
20 terms
- p-value
- The probability, assuming the null hypothesis is true, of obtaining a result at least as extreme as the one observed. A small value counts as evidence against the null hypothesis; it is not the probability that the hypothesis is true. A small p-value in a huge sample can reflect an effect too small to matter, so effect size should be reported too.See: Student t Tail Probability (ttail), F Distribution Tail Probability (ftail)
- Padé approximant
- A rational function, a ratio of two polynomials, chosen so that its power series agrees with that of a given function to as high an order as possible. It often approximates much better than a Taylor polynomial of equal cost.R(x) = P_m(x) / Q_n(x)See: Matrix ODEs and the Padé Approximation
- Partial pivoting
- A pivoting strategy that, at each elimination step, swaps rows so that the entry of largest absolute value in the current column becomes the pivot. It keeps all multipliers at most 1 in magnitude and works well in practice. Without it, a zero or tiny pivot can ruin the solution of an otherwise easy system.See: LU Factorization of a Matrix: Method and Worked Example
- Passband
- The range of frequencies that a filter lets through with little attenuation. The stopband is the range where the signal is strongly attenuated, and the transition band lies between them. Ripple in the passband is the variation of gain across it, and a Butterworth design has none while Chebyshev designs trade some for sharpness.
- Penalty method
- A way to handle constraints by adding a term to the objective that grows when a constraint is violated. Solving a sequence of unconstrained problems with increasing penalty weights approaches the constrained solution. Large weights make the unconstrained problem ill-conditioned, which is why barrier and augmented Lagrangian methods are often preferred.
- Percentile
- A quantile expressed as a percentage: the 90th percentile is the value below which 90 percent of the distribution lies. The median is the 50th percentile, and the quartiles are the 25th and 75th. Percentiles of a sample are found by interpolating between sorted values.See: Inverse Normal Distribution (Quantile Function)
- Phase response
- The phase shift that a system imparts to each frequency component of a sinusoidal input, as a function of frequency. Together with the magnitude response it fully characterizes a linear filter. It is often unwrapped before plotting, so that jumps of 2π in the computed angle do not appear as discontinuities.
- Pivot
- The elementary operation in the simplex and Lemke methods that exchanges a basic variable for a non-basic one by row operations on the tableau. It moves the solution to an adjacent vertex. Choosing the pivot row by the minimum ratio test keeps the new solution feasible, and the pivot element is never zero. It is also called the pivot element, and repeated pivots turn the tableau toward an optimal or a complementary solution.See: Lemke Algorithm for the Linear Complementarity Problem: Step by Step Example, lp_solve Linear Programming Tutorial: Model, Solution and Worked Example
- Pivoting
- The practice of exchanging rows, and sometimes columns, during elimination so that the pivot has a large magnitude. Partial pivoting picks the largest entry in the current column and prevents division by tiny numbers, which would otherwise make elimination unstable.See: LU Factorization of a Matrix: Method and Worked Example
- Poisson distribution
- The distribution of the number of events occurring in a fixed interval when events happen independently at a constant average rate λ. Both its mean and its variance equal λ. It models counts such as arrivals per minute and is the limit of the binomial for many trials with a small probability.P(k) = λᵏ e^(−λ) / k!See: Poisson Random Numbers (poissrnd)
- Polynomial
- A function built from non-negative integer powers of a variable, written as a sum of coefficients times powers. Numerically, polynomials are evaluated by Horner's scheme, and their roots can be found as the eigenvalues of a companion matrix. The degree is the highest power with a nonzero coefficient, and a polynomial of degree n has n roots counting multiplicity.p(x) = a₀ + a₁x + … + aₙxⁿSee: Deconvolution Explained: Polynomial Division with a Worked Example
- Polynomial division
- Dividing one polynomial by another to get a quotient and a remainder with lower degree than the divisor. The coefficient lists of the polynomials combine by convolution when multiplying and by deconvolution when dividing. It is the same long division taught for numbers, applied to coefficient lists, and the remainder is zero when the divisor is a factor.a(x) = q(x) b(x) + r(x)See: Deconvolution Explained: Polynomial Division with a Worked Example
- Positive definite matrix
- A symmetric matrix for which xᵀAx is positive for every nonzero vector x. Equivalent conditions are that all eigenvalues are positive and that a Cholesky factorization exists. Covariance matrices of non-degenerate data are positive definite. Such matrices are always nonsingular, and the largest entry of each is found on its diagonal.xᵀAx > 0 for x ≠ 0See: LU Factorization of a Matrix: Method and Worked Example
- Power iteration
- A simple eigenvalue method that repeatedly multiplies a vector by the matrix and normalizes it. The vector converges to the eigenvector of the eigenvalue of largest magnitude, at a rate set by the ratio of the two largest magnitudes. It needs only matrix-vector products and fails to converge in a useful way when the two largest eigenvalues are nearly equal in size.vₖ₊₁ = Avₖ / ‖Avₖ‖
- Power spectrum
- A description of how the power of a signal is distributed over frequency, usually estimated from the squared magnitude of the DFT. It discards phase and is commonly plotted on a decibel scale. Averaging the spectra of several segments, as in Welch's method, reduces the variance of the estimate considerably.P[k] = |X[k]|² / NSee: Decibels: 20·log10 of an Amplitude Ratio
- Preconditioner
- A matrix M, cheap to invert, chosen so that M⁻¹A has a more favorable spectrum than A. Applying an iterative solver to the preconditioned system reduces the iteration count, often by orders of magnitude. Common choices include the diagonal of A, an incomplete factorization of A and approximate inverses, each trading cost against quality.M⁻¹Ax = M⁻¹b
- Probability density function
- A function whose integral over an interval gives the probability that a continuous random variable falls in that interval. It is never negative and integrates to 1 over the whole line. Its value at a point is not itself a probability.P(a ≤ X ≤ b) = ∫ₐᵇ f(x) dxSee: Normal Probability Density (normpdf)
- Projection
- A linear map that sends each vector to the nearest point in a subspace. The orthogonal projector onto the range of a full-rank matrix A with columns forming a basis is built from A and its transpose, and it equals its own square.P = A(AᵀA)⁻¹Aᵀ
- Pseudoinverse
- A generalization of the matrix inverse to rectangular and singular matrices, defined through the SVD by inverting the nonzero singular values. It gives the minimum-norm least-squares solution of Ax ≈ b. It is the ordinary inverse when the matrix is square and nonsingular, and tiny singular values are normally truncated to zero first.A⁺ = VΣ⁺UᵀSee: Left Matrix Division and Linear Least Squares
- Pseudorandom numbers
- Numbers produced by a deterministic algorithm that pass statistical tests of randomness. The same seed always gives the same sequence, which makes simulations repeatable. Seeded runs repeat exactly, which helps debugging. They are not suitable for cryptography unless the generator was designed for it.See: Binomial Random Numbers (binornd)
Q
8 terms
- QR algorithm
- The standard method for computing all eigenvalues of a dense matrix. It repeatedly factors the matrix as QR and forms RQ, which is a similarity transformation that drives the matrix toward Schur form. Shifts and a prior Hessenberg reduction make it fast.Aₖ = QₖRₖ, Aₖ₊₁ = RₖQₖSee: Schur Factorization: The Schur Form of a Matrix
- QR factorization
- A factorization of a matrix into an orthogonal (or unitary) matrix Q and an upper triangular matrix R. It is the standard stable route to least-squares solutions and the basis of the QR algorithm for eigenvalues. It is computed with Householder reflections or Givens rotations.A = QRSee: Orthonormal Basis for the Range (Column Space) of a Matrix
- Quadratic convergence
- Convergence of order 2: the error is roughly squared at every step, so the number of correct digits about doubles. Newton's method converges quadratically near a simple root. The guarantee holds only once the starting guess is close enough to the solution.|eₖ₊₁| ≈ C |eₖ|²
- Quadratic programming
- The minimization of a quadratic function subject to linear constraints. When the quadratic term is positive semidefinite the problem is convex and can be solved reliably. Without constraints it reduces to a linear system, and with constraints active-set and interior-point methods are applied.min ½ xᵀQx + cᵀx subject to Ax ≤ bSee: Lemke Algorithm for the Linear Complementarity Problem: Step by Step Example
- Quadrature
- The numerical approximation of a definite integral by a weighted sum of function values at chosen points. Different rules pick the points and weights to reach different orders of accuracy. The nodes may be equally spaced, as in Newton–Cotes rules, or chosen optimally, as in Gaussian rules, with different strengths.∫ f ≈ ∑ wᵢ f(xᵢ)See: Two-Dimensional Gaussian Quadrature
- Quantile
- The value below which a given fraction of a distribution lies. The median is the 0.5 quantile. Quantiles are found by inverting the cumulative distribution function. The 0.25 and 0.75 quantiles are the quartiles, and the distance between them is the interquartile range.Q(p) = F⁻¹(p)See: Inverse Normal Distribution (Quantile Function)
- Quantization
- The mapping of a continuous amplitude onto a finite set of levels, as in analog-to-digital conversion. It introduces an error of at most half a step, which behaves much like noise of power Δ²/12 for a uniform step Δ. Fewer bits mean larger steps and more error, and each extra bit halves the step and lowers noise power by about 6 dB.error power ≈ Δ² / 12
- Quasi-Newton method
- An optimization method that builds an approximation to the Hessian, or its inverse, from successive gradient differences instead of computing second derivatives. BFGS is the best-known example. The update uses only the last step and gradient change, so it needs no second derivatives and keeps superlinear convergence.Bₖ₊₁ sₖ = yₖ
R
19 terms
- Raised cosine filter
- A pulse-shaping filter whose frequency response rolls off in a cosine shape controlled by a roll-off factor between 0 and 1. It meets the Nyquist criterion for zero intersymbol interference at the sampling instants. It is used in pairs, with a matched square-root version at the transmitter and the receiver.See: Raised Cosine Filter: Roll-Off and Impulse Response
- Random number generator
- An algorithm that produces a sequence of numbers that behaves statistically like independent random draws. Computers use deterministic pseudorandom generators, which are reproducible from a seed. Good generators have long periods and pass test batteries, and the Mersenne Twister and PCG families are common choices. Seeding makes a run reproducible, which matters for debugging and for publishing results.See: Binomial Random Numbers (binornd), Gamma Random Numbers (gamrnd)
- Random variable
- A quantity whose value is determined by the outcome of a random experiment. It is discrete if it takes separate values, and continuous if it can take any value in an interval. Its behavior is described entirely by its distribution, usually through a density function or a cumulative distribution function.
- Range
- The set of all vectors that can be written as Ax for some x, that is, the span of the columns of A. Its dimension equals the rank, and an orthonormal basis for it is available from QR or the SVD.R(A) = {Ax}See: Orthonormal Basis for the Range (Column Space) of a Matrix
- Rank
- The number of linearly independent columns of a matrix, which equals the number of linearly independent rows. In floating point it is estimated as the number of singular values above a tolerance, since exact rank deficiency is rarely seen. A matrix has full rank when the rank equals the smaller of its two dimensions, and rank deficiency signals dependent equations.rank A = dim range ASee: Orthonormal Basis for the Range (Column Space) of a Matrix
- Rayleigh quotient
- The ratio vᵀAv / vᵀv for a symmetric matrix A and a nonzero vector v. It lies between the smallest and largest eigenvalues and equals an eigenvalue when v is an eigenvector. It gives eigenvalue estimates that are accurate to second order in the vector error.R(v) = vᵀAv / vᵀv
- Rectangular window
- The window that is constant over the observed segment and zero elsewhere, equivalent to no tapering at all. It has the narrowest main lobe but the highest side lobes, so leakage is severe. It is the implicit window whenever a segment is simply cut from a longer record without any shaping applied to it.
- Regression
- The fitting of a model that predicts one variable from others. Linear regression chooses coefficients by least squares so that the sum of squared residuals is smallest. The residuals should look like noise, and structure in them signals that the model form is missing something.y = Xβ + εSee: Left Matrix Division and Linear Least Squares
- Regula falsi
- A bracketing root-finding method that, like bisection, keeps an interval with a sign change but picks the next point where the straight line through the endpoints crosses zero. It is often faster than bisection, though one endpoint can stall in the false-position variant.
- Relative error
- The absolute error divided by the magnitude of the true value, which makes the error independent of scale. It is usually quoted as a fraction or a percentage and is undefined when the true value is zero. Relative error is the natural way to describe accuracy in floating-point arithmetic.|x̂ − x| / |x|, x ≠ 0
- Relaxation
- A simpler problem obtained by dropping or loosening constraints, for example allowing integer variables to be fractional. Its optimum bounds that of the original problem. A tighter relaxation gives a better bound, and when the relaxed optimum happens to satisfy the dropped constraints it is also optimal for the original. It is also used to describe over-relaxation in iterative linear solvers, which is a different idea.See: lp_solve Linear Programming Tutorial: Model, Solution and Worked Example
- Resampling
- Changing the sampling rate of a signal, by interpolating and then decimating according to a rational factor p/q. A low-pass filter is needed to prevent aliasing when the rate is reduced. A rate change by 3/2 means interpolation by 3 followed by decimation by 2, with one filter placed between the two steps.See: Resampling by Rational Factors
- Residual
- For an approximate solution x̂ of Ax = b, the vector b − Ax̂. A small residual shows that the equations are nearly satisfied but does not by itself prove that x̂ is close to the true solution, which also depends on conditioning. In statistics it denotes the difference between data and fit.r = b − Ax̂See: Left Matrix Division and Linear Least Squares
- Richardson extrapolation
- A technique that combines results computed with two step sizes to cancel the leading error term and obtain a more accurate value. It underlies Romberg integration. It assumes the error follows a known power of the step, and each round removes one more term from the error series.R = (2ᵖ A(h/2) − A(h)) / (2ᵖ − 1)
- Root
- A value of x for which a function f(x) equals zero. A root of multiplicity m has f and its first m − 1 derivatives vanishing there. Roots of higher multiplicity are harder to compute accurately because the function is flat near them.f(x) = 0
- Round-off error
- The error introduced because a result of arithmetic must be rounded to the nearest representable number. Each operation contributes a small relative error, bounded by machine epsilon, but the contributions can accumulate over millions of operations or be magnified by subtraction of nearly equal numbers.
- Rounding
- The replacement of a real number by a nearby representable one. The default IEEE mode rounds to nearest, with ties going to the value whose last digit is even. Round-to-nearest-even avoids a systematic bias, and directed rounding modes are used in interval arithmetic.
- Runge's phenomenon
- The large oscillations near the ends of an interval that appear when a high-degree polynomial interpolates equally spaced points, even for smooth functions. Chebyshev nodes or splines avoid it. The error grows with the degree for equally spaced nodes, which is why low-degree piecewise fits are favored.f(x) = 1 / (1 + 25x²)
- Runge–Kutta method
- A family of one-step methods for differential equations that evaluate the right-hand side at several points within each step and combine them. The classical fourth-order method has global error proportional to h⁴. The number of right-hand side evaluations per step equals the number of stages, and embedded pairs give a free error estimate.yₙ₊₁ = yₙ + (h/6)(k₁ + 2k₂ + 2k₃ + k₄)
S
40 terms
- Saddle point
- A critical point that is a minimum in some directions and a maximum in others, so the gradient vanishes but the Hessian is indefinite. Optimization methods can stall near such points. Second-order information, from the Hessian, distinguishes saddles from minima, and noise can push iterates away from them.
- Sampling rate
- The number of samples taken per second of a continuous signal, in hertz. It fixes the highest representable frequency, half its value, and the time spacing between samples is its reciprocal. Raising it widens the usable bandwidth but also increases the amount of data to store and process.fs = 1 / ΔtSee: Time Axis for Sampled Signals
- Sampling theorem
- The result that a signal containing no frequencies above B can be perfectly reconstructed from samples taken more often than 2B per second, by interpolating with sinc functions. It assumes a signal strictly limited in bandwidth, and real signals are approximately so after low-pass filtering.x(t) = ∑ x[n] sinc((t − nT)/T)See: The sinc Function: sinc(x)
- Schur form
- A factorization of a square matrix as A = QTQᴴ with Q unitary and T upper triangular, whose diagonal holds the eigenvalues. It always exists, is computed stably by the QR algorithm, and underlies many matrix function algorithms. For a real matrix with complex eigenvalues, a real variant with two-by-two blocks on the diagonal avoids complex arithmetic.A = QTQᴴSee: Schur Factorization: The Schur Form of a Matrix
- Secant method
- A root-finding iteration that replaces the derivative in Newton's method with a slope through the two most recent points. It needs no derivative and one function evaluation per step, and converges with order about 1.618, the golden ratio. It can fail if the two points sit on a flat part of the curve.xₖ₊₁ = xₖ − f(xₖ)(xₖ − xₖ₋₁) / (f(xₖ) − f(xₖ₋₁))
- Seed
- The initial value from which a pseudorandom generator starts. Fixing it makes a simulation exactly repeatable, and changing it gives an independent run. A common choice is a fixed integer for testing and a value from the system clock for production runs.
- Sensitivity analysis
- The study of how an optimal solution and its value change when the problem data, such as costs or right-hand sides, are perturbed. It reports ranges over which the current basis remains optimal. It answers practical what-if questions without re-solving, such as how much a cost may change before the plan changes.See: lp_solve Linear Programming Tutorial: Model, Solution and Worked Example
- Shadow price
- The rate at which the optimal objective value changes when the right-hand side of a constraint increases by one unit. It equals the value of the corresponding dual variable. It is valid only within a range where the optimal basis remains unchanged, which sensitivity analysis reports.∂z* / ∂bᵢ = yᵢ*See: lp_solve Linear Programming Tutorial: Model, Solution and Worked Example
- Signal-to-noise ratio
- The ratio of the power of a signal to the power of the noise accompanying it, often expressed in decibels. A higher value means a cleaner signal. A 10 dB ratio means the signal has ten times the noise power, and every extra 10 dB is another factor of ten.SNR = 10 log₁₀(P_signal / P_noise)See: Additive White Gaussian Noise (AWGN)
- Significant digits
- The digits of a number that carry real information, counted from the first nonzero digit. A computed value with relative error near 10⁻⁶ is accurate to about six significant digits. Double precision stores roughly 15 to 17 significant decimal digits.
- Similarity transformation
- A change from A to P⁻¹AP for an invertible matrix P. The result has the same eigenvalues as A. Eigenvalue algorithms use similarity transformations, preferably orthogonal ones, to move toward simpler forms without changing the spectrum. Orthogonal choices of P are preferred because they do not magnify rounding errors.B = P⁻¹AP
- Simplex method
- An algorithm for linear programming that moves from vertex to adjacent vertex of the feasible region, improving the objective at each pivot, until no neighboring vertex is better. It is fast in practice though its worst case is exponential. Each iteration is a pivot on a tableau, and degenerate problems can cycle unless a tie-breaking rule is applied.See: lp_solve Linear Programming Tutorial: Model, Solution and Worked Example
- Simpson's rule
- A quadrature rule that fits a parabola through each pair of subintervals. It is exact for polynomials up to degree 3 and has an error proportional to the fourth power of the step. It needs an even number of subintervals, and combining it with halved steps yields Romberg integration.∫ₐᵇ f ≈ (h/3)(f₀ + 4f₁ + 2f₂ + … + 4fₙ₋₁ + fₙ)
- Sinc function
- The function sin(πx)/(πx), equal to 1 at zero and vanishing at every other integer. It is the impulse response of an ideal low-pass filter and the interpolation kernel in the sampling theorem. It decays slowly, only as 1/x, so truncating it to build a filter requires a window to control ripple.sinc(x) = sin(πx) / (πx)See: The sinc Function: sinc(x)
- Single precision
- The IEEE 754 binary floating-point format that uses 32 bits: one sign bit, 8 exponent bits and 23 fraction bits. It holds about 7 significant decimal digits and has a machine epsilon near 1.2 × 10⁻⁷. It halves memory use and is much faster on many GPUs, at the price of accumulating round-off errors more quickly.32 bits: 1 + 8 + 23
- Singular matrix
- A square matrix with no inverse, equivalently one whose determinant is zero, whose rank is below its size, or which has a zero eigenvalue. A nearly singular matrix has a huge condition number and behaves almost as badly in floating point.See: Left Matrix Division and Linear Least Squares
- Singular value
- A non-negative number σᵢ on the diagonal of the SVD, equal to the square root of an eigenvalue of AᵀA. The largest is the 2-norm of the matrix, and the ratio of the largest to the smallest nonzero one is its condition number.σᵢ = √λᵢ(AᵀA)
- Singular value decomposition
- A factorization of any m × n matrix into two orthogonal matrices and a diagonal matrix of non-negative singular values in decreasing order. It exposes rank, range, null space and condition number at once, and gives the best low-rank approximation of the matrix.A = UΣVᵀSee: Orthonormal Basis for the Range (Column Space) of a Matrix
- Skewness
- A measure of the asymmetry of a distribution about its mean. It is positive when the right tail is longer, negative when the left tail is longer, and zero for symmetric distributions. It is computed from the third standardized moment, and income data are a familiar right-skewed example.E[(X − μ)³] / σ³
- Slack variable
- A non-negative variable added to the left side of a less-than-or-equal constraint to turn it into an equation. Its value measures how far the constraint is from being tight. A constraint with zero slack is called binding or active, and one with positive slack has room to spare.aᵀx + s = b, s ≥ 0See: lp_solve Linear Programming Tutorial: Model, Solution and Worked Example
- Sparse matrix
- A matrix in which most entries are zero. Storing only the nonzero entries and their positions saves memory and allows specialized algorithms whose cost depends on the number of nonzeros instead of the full size. Finite-difference grids and networks give sparse matrices, with only a few nonzeros per row even when the size is in the millions.See: Linear Algebra: Matrices, Factorizations and Solving Systems
- Special function
- A function, such as the gamma, error or Bessel function, that has no simple closed form in elementary terms but arises often enough to have standard names, properties and numerical algorithms. Libraries implement them with series, continued fractions and asymptotic expansions, switching between these by the range of the argument.See: Statistics and Special Functions: Distributions, Tails and Quantiles
- Spectral leakage
- The spreading of a sinusoid's energy into neighboring DFT bins when the observed segment does not contain a whole number of its periods. Abrupt truncation acts like multiplying by a rectangular window; smoother windows reduce leakage at the cost of wider peaks.See: Blackman Window: Formula and Properties
- Spectral radius
- The largest absolute value among the eigenvalues of a square matrix. An iteration x ← Mx + c converges for every starting vector exactly when the spectral radius of M is below 1. It never exceeds any induced norm of the matrix, and for symmetric matrices it equals the 2-norm.ρ(A) = maxᵢ |λᵢ|
- Spectrogram
- A picture of how the spectrum of a signal changes with time, built from DFTs of short overlapping windowed segments. Time runs along one axis, frequency along the other and intensity is shown by color. The window length sets the compromise between resolving time and resolving frequency, and it cannot be good at both at once.
- Spline
- A piecewise polynomial function joined smoothly at its breakpoints, called knots. A cubic spline has continuous first and second derivatives and avoids the oscillation of a single high-degree polynomial. The pieces are usually cubic, and the smoothness at the knots gives a visually pleasing curve without the wiggles of high-degree polynomials.See: One-Dimensional Interpolation (interp1)
- Standard deviation
- The square root of the variance, a measure of spread in the same units as the data. For a normal distribution about 68 percent of values lie within one standard deviation of the mean. Because the same units as the data are used, it is the figure quoted in error bars and in confidence interval calculations.s = √(s²)
- Standard normal distribution
- The normal distribution with mean 0 and standard deviation 1. Any normal variable is converted to it by subtracting the mean and dividing by the standard deviation, which gives the z-score. Tables and software give its cumulative distribution, and any normal probability is read from them after standardizing.z = (x − μ) / σSee: Normal Probability Density (normpdf)
- State-space model
- A description of a dynamic system by a vector of internal states that evolves in time and an output equation that maps states to measurements. It is the standard setting for the Kalman filter and modern control. The state need not be measured directly, and the filter infers it from the outputs and the known equations of motion.x′ = Ax + Bu, y = Cx + DuSee: Kalman-Bucy Filtering: The Continuous-Time Kalman Filter
- Stationarity
- A property of a stochastic process whose statistical behavior does not change over time. In the weak sense it requires a constant mean and an autocovariance that depends only on the lag. Many time series methods assume it. A series with a trend or growing variance is not stationary, and differencing or a transformation is applied before modeling.See: Statistical Time Series Analysis (STSA)
- Stiffness
- The property of a differential equation whose solution contains components that decay at very different rates, so that explicit methods must use tiny steps for stability even when the solution is smooth. Implicit methods handle it better. Typical examples are chemical kinetics and circuits, in which one fast mode forces explicit solvers to take steps far smaller than needed.See: Matrix ODEs and the Padé Approximation
- Stopping criterion
- The rule that ends an iteration, usually a test on the size of the residual, of the change between successive iterates, or a cap on the iteration count. A good criterion combines absolute and relative tolerances so that it works for both small and large answers.
- String-to-number conversion
- The process of reading the characters of a number, such as 3.14e2, and producing the nearest floating-point value. It must handle signs, decimal points, exponents and invalid input without silent errors. A routine should report failure on text such as 12abc, and reading a whole file as text first, then converting, is common."3.14e2" → 314See: ASCII to Double: Converting Text to Floating-Point Numbers
- Student t distribution
- A bell-shaped distribution with heavier tails than the normal, governed by the degrees of freedom. It describes the standardized sample mean when the variance is estimated from the data, and approaches the normal distribution as the degrees of freedom grow.t = (x̄ − μ) / (s/√n)See: Student t Tail Probability (ttail)
- Subnormal number
- A floating-point number smaller in magnitude than the smallest normal one, stored with reduced precision so that underflow is gradual and not abrupt. They fill the gap between zero and the smallest normal value. They are slower on some processors, and the smallest one in double precision is about 4.9 × 10⁻³²⁴.
- Subspace
- A set of vectors closed under addition and scalar multiplication, such as the range or null space of a matrix. Its dimension is the number of vectors in any basis of it. Every subspace contains the zero vector, and a line or plane through the origin is a familiar example.
- Successive over-relaxation
- A modification of Gauss–Seidel that blends the old value with the new one using a relaxation factor ω, often between 1 and 2. A well-chosen ω can reduce the number of iterations dramatically, and convergence requires 0 < ω < 2 for symmetric positive definite matrices.x⁽ᵏ⁺¹⁾ = (1 − ω)x⁽ᵏ⁾ + ω x_GS
- Superlinear convergence
- Convergence faster than linear but not necessarily quadratic, meaning the ratio of successive errors tends to zero. The secant method, with order about 1.618, and quasi-Newton optimization methods are typical examples. The error ratio shrinks toward zero, so each step gains more correct digits than the previous one did. It sits between linear and quadratic behavior.|eₖ₊₁| / |eₖ| → 0
- Surface plot
- A three-dimensional picture of a function of two variables, drawn as a surface above the plane. Adding contour lines on the base or surface helps reading values. The grid must be rectangular for a mesh, and the viewing angle strongly affects how readable the shape is.See: Surface Plot with Contours: Shaded Facets and Base Lines, Mesh Plot with Contours: Building a meshc-Style Figure
- Symmetric matrix
- A real square matrix equal to its transpose. Its eigenvalues are real, its eigenvectors can be chosen orthogonal, and many specialized and cheaper algorithms exist for it. Covariance matrices and the normal equations matrix AᵀA are symmetric, which is why such algorithms matter in practice.A = Aᵀ
T
15 terms
- Tableau
- A table holding the coefficients of a linear program during the simplex method, updated at every pivot. Its rows give the current basic variables and its last row the reduced costs. A tableau stores the whole problem in one array, and revised versions keep only the basis inverse, which is much cheaper for large problems.See: lp_solve Linear Programming Tutorial: Model, Solution and Worked Example
- Tail probability
- The probability that a random variable exceeds a given value, one minus the cumulative distribution. It is the p-value of a one-sided test and is computed directly to avoid cancellation when it is tiny. Upper-tail values of the normal distribution fall off roughly like e^(−x²/2), so they become very small quickly.P(X > x) = 1 − F(x)See: Student t Tail Probability (ttail), F Distribution Tail Probability (ftail)
- Taylor series
- The expansion of a smooth function around a point as a sum of terms built from its derivatives there. Truncating it gives a polynomial approximation whose error is the first omitted term. Its radius of convergence limits where it works, and for functions such as exp the series converges everywhere.f(x) = ∑ f⁽ⁿ⁾(a)(x − a)ⁿ / n!
- Ternary plot
- A triangular diagram for three components that sum to a constant, such as proportions of three ingredients. Each point is located by its distances to the three sides. Used for mixtures, soil texture and election shares, the plot shows relative proportions and hides the absolute amounts.
- Time axis
- The vector of instants at which a signal was sampled, generated from the sampling rate as multiples of the sampling interval. Plotting against it puts the horizontal scale in seconds rather than sample numbers. Each entry is the sample index divided by the sampling rate, so the first sample is normally assigned time zero.t[n] = n / fsSee: Time Axis for Sampled Signals
- Time series
- A sequence of observations ordered in time, usually at equal intervals. Analysis looks for trend, seasonality, autocorrelation and noise, and builds models for description or forecasting. Observations are not independent, so ordinary statistics must be adapted, and methods such as differencing remove trends first.See: Statistical Time Series Analysis (STSA)
- Toeplitz matrix
- A matrix whose entries are constant along each diagonal, so aᵢⱼ depends only on i − j. Convolution can be written as multiplication by a Toeplitz matrix, and special algorithms solve Toeplitz systems faster than general ones. Because the whole matrix is fixed by its first row and column, it needs only 2n − 1 numbers of storage.aᵢⱼ = tᵢ₋ⱼSee: Convolution of Two Vectors
- Tolerance
- A user-chosen threshold that defines how small an error, residual or step must be before an iterative method is considered finished. Setting it below roughly machine epsilon times the problem scale is pointless, because round-off prevents the result from improving further.
- Trace
- The sum of the diagonal entries of a square matrix. It also equals the sum of its eigenvalues, and it does not change under similarity transformations. It is cheap to compute, and it is used in statistics, in physics and as a check on eigenvalue results, since the trace must equal the eigenvalue sum.tr A = ∑ aᵢᵢ = ∑ λᵢ
- Transfer function
- The ratio of the output to the input of a linear time-invariant system in a transform domain, such as the z-transform or Fourier transform. Its magnitude shows how much each frequency is amplified or attenuated. Evaluated on the unit circle of the z-plane, it gives the frequency response, and its poles show whether the filter is stable.H(z) = Y(z) / X(z)See: Analog Filter Design: From Specs to Order and Cutoff
- Transpose
- The matrix obtained by turning rows into columns, so that the entry in row i and column j moves to row j and column i. For complex matrices the conjugate transpose, which also conjugates every entry, is usually the relevant operation.(Aᵀ)ᵢⱼ = AⱼᵢSee: Complex Conjugate of Numbers, Vectors and Matrices
- Trapezoidal rule
- A quadrature rule that approximates the area under a curve by trapezoids built on each subinterval. Its error shrinks with the square of the step, and it is exceptionally accurate for smooth periodic functions. For smooth periodic integrands over a full period it converges faster than any power of the step, which is a notable property.∫ₐᵇ f ≈ h(f₀/2 + f₁ + … + fₙ₋₁ + fₙ/2)
- Triangular matrix
- A square matrix whose entries are all zero on one side of the main diagonal. Lower triangular matrices have zeros above it, upper triangular matrices below it. Systems with a triangular matrix are solved by substitution without any factorization. The determinant is simply the product of its diagonal entries.
- Tridiagonal matrix
- A matrix whose nonzero entries lie only on the main diagonal and the diagonals directly above and below it. Systems with such a matrix can be solved in O(n) operations, and symmetric matrices are often reduced to this form before computing eigenvalues.
- Truncation error
- The error that arises when an infinite process is cut short or a smooth function is replaced by a finite approximation, such as stopping a series after N terms or replacing a derivative with a difference quotient. It would remain even with exact arithmetic and usually shrinks as the step size decreases.See: Finite Differences of Arbitrary Order: Formulas, Stencils and Examples
U
6 terms
- Underdetermined system
- A linear system with fewer equations than unknowns, which has either no solution or infinitely many. The pseudoinverse selects the one with the smallest norm. Such systems arise in design and inverse problems, where extra conditions are added to pick a sensible solution among many. The set of solutions is a shifted copy of the null space of the matrix, whose dimension counts the free parameters.See: Left Matrix Division and Linear Least Squares
- Underflow
- The condition in which a result is too close to zero to be represented as a normal floating-point number. IEEE arithmetic then returns a subnormal number or zero, losing relative accuracy gradually. Gradual underflow keeps small differences meaningful, and a product of many probabilities should be computed with logarithms instead.
- Unicode
- The universal character standard that assigns a code point to characters of nearly all writing systems. UTF-8, its most common encoding, uses one to four bytes per character and is identical to ASCII for the first 128 code points. Files holding numbers should declare their encoding, since a stray byte-order mark at the start can break the parsing of the first value.
- Uniform distribution
- A distribution in which every value in an interval is equally likely. The uniform distribution on [0, 1] is the raw material from which random numbers of other distributions are generated. Its mean is the midpoint (a + b)/2 and its variance is (b − a)²/12.f(x) = 1 / (b − a)
- Unit roundoff
- The largest relative error of a single correctly rounded floating-point operation, half of machine epsilon under round-to-nearest. For double precision it is about 1.11 × 10⁻¹⁶. The bound is relative, so a computed sum of two numbers is within a factor 1 ± u of the exact sum.u = ε / 2 ≈ 1.11 × 10⁻¹⁶
- Unitary matrix
- The complex analogue of an orthogonal matrix: a square matrix whose conjugate transpose is its inverse. It preserves the Euclidean length of complex vectors, and the DFT matrix, suitably scaled, is unitary. Its eigenvalues all have magnitude 1, and products of unitary matrices are unitary.UᴴU = I
V
4 terms
- Vandermonde matrix
- A matrix whose rows are successive powers of a list of nodes. It appears in polynomial interpolation and is notoriously ill-conditioned for even moderate size, which is why the monomial basis is avoided for high-degree fits. Fitting through Chebyshev or orthogonal polynomial bases gives much better conditioned problems for the same data.Vᵢⱼ = xᵢʲ⁻¹
- Variance
- The average squared deviation of values from their mean, a measure of spread. For a sample, dividing by n − 1 instead of n gives an unbiased estimate of the population variance. Computing it in two passes, mean first and squared deviations second, is more accurate than the textbook shortcut formula.s² = ∑ (xᵢ − x̄)² / (n − 1)
- Vector norm
- A function assigning a non-negative length to a vector, zero only for the zero vector, scaling with scalar multiplication and obeying the triangle inequality. The common choices are the 1-norm, the 2-norm and the infinity norm. It is the tool used to measure the size of errors and residuals, and all norms on a finite-dimensional space are equivalent up to constants.‖x‖₂ = √(∑ xᵢ²)
- Vectorization
- Writing computations as operations on whole arrays instead of explicit loops over entries. In matrix languages this is usually much faster, since the loop runs in optimized compiled code. It also makes code shorter and closer to the mathematics, which reduces the chance of an indexing mistake.See: What Is a Matrix Language? Arrays, Operators and Vectorization
W
3 terms
- Well-conditioned
- Describes a problem whose answer changes only modestly when the input is perturbed slightly. For a linear system this corresponds to a condition number close to 1. A well-conditioned problem can still be solved badly by an unstable algorithm, so conditioning and stability are checked separately.
- White noise
- A random signal whose samples are uncorrelated with one another, so that its power spectrum is flat across all frequencies. Real systems approximate it only over a limited band. The name comes from white light, which contains all colors in equal measure, and samples of it have zero mean and constant variance.See: Additive White Gaussian Noise (AWGN)
- Window function
- A function that tapers the ends of a finite signal segment toward zero before spectral analysis, reducing leakage caused by abrupt truncation. Different windows trade main-lobe width against side-lobe height. The window is multiplied with the data before the DFT, and it reduces leakage while widening spectral peaks slightly.See: Blackman Window: Formula and Properties, Gaussian Window: Formula and Choice of σ
Z
1 terms
- Zero padding
- Appending zeros to a signal before taking the DFT. It does not add information or true resolution, but it gives a more finely sampled view of the same spectrum and allows lengths that suit the FFT. Padding to a power of two before the FFT can also make the computation faster on some libraries.See: nextpow2 and FFT Lengths