NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist, #1952 most downloaded on Packagist
Math Library for PHP. Features descriptive statistics and regressions; Continuous and discrete probability distributions; Linear algebra with matrices and vectors, Numerical analysis; special mathematical functions; Algebra
Latest stable
v2.13.0
Last release 1 years ago
24 Oct 2025
Release timing varies
gaps range from 2 weeks to 10 months
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
140 releases · first in 2016
Drag across the ruler to compare, or tap a release to open it.
Polynomial implements ObjectArithmetic
Internal refactoring/improvements
Your coding agent can read these notes before it upgrades. Set up the MCP server →
### New Features * Matrix * Cholesky decomposition * isRref * Exchange matrix * isInvolutory * isSignature * Hilbert matrix * isUpperBidiagonal * isLo
Complex number support to quadratic and cubic equations
### New Features * Matrix * isSingular * isNonsingular * isInvertible * leadingPrincipalMinor * isPositiveDefinite * isPositiveSemidefinite * isNegati
Number theory prime factorization
### New Features * Number Theory - Integers * Perfect powers * Advanced Sequences * Perfect powers * Not perfect powers * Primes up to n * Algebra * Q
Circular statistics (directional statistics)
Finance principle payment on an annuity
Finance internal rate of return
Matrix representation as array of column vectors
Finance: Annual Equivalent Rate (AER)
### New Features - Two-sample z significance test
Shannon entropy (bits, nats, hartleys)
### New Features - Lazy caterer's sequence - Magic squares sequence
### New Features - Look-and-say sequence
Refactor exceptions to use custom exception classes
Effect size η²p (Partial eta-squared)
Change root namespace from Math to MathPHP
Clamped Cubic Spline Interpolation
Natural cubic spline interpolation
Some null return values changed to NAN when computation is invalid
Matrix solve linear system of equations
Fix matrix determinant calculation
### New Features - Polynomial class - Vector cross product
SecondDerivativeMidpointFormula
### New Features - Numerical Analysis - Nevilles Method - Newton Polynomial
NumericalAnalysis - Interpolation
One-way ANOVA (Math\Statistics\ANOVA)
Math\Statistics\ANOVA)Math\Probability\Distribution\Table)Math\Statistics\Descriptive)Math\Statistics\RandomVariable)Math\Probability\Distribution\Table)Math\Probability to Math\Probability\Distribution\TableMath\Statistics\ANOVA)Math\Probability\Distribution\Table)Math\Statistics\Descriptive)Math\Statistics\RandomVariable)Math\Probability\Distribution\Table)Math\Probability to Math\Probability\Distribution\TableStandard Normal Table (Z Table)
Initial features:
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.