Releases: markrogoyski/math-php
Releases · markrogoyski/math-php
v0.56.0
New Features
- Number Theory
- isDeficientNumber
- isAbundantNumber
- aliquotSum
- radical
- totient
- cototient
- reducedTotient
- mobius
- isSquarefree
- isRefactorableNumber
- isSphenicNumber
- numberOfDivisors
- sumOfDivisors
Improvements
- Optimization of prime factorization algorithm
v0.55.0
New Features
- Arbitrary length integers
Improvements
- Factorial optimization
v0.54.0
v0.53.0
New Features
- Matrix QR decomposition using Householder reflections
- Matrix Householder transformation
- MatrixFactory random matrix
- MatrixFactory givens rotation matrix
- Matrix isIdempotent
- Matrix Eigenvalue power iteration
- Matrix Eigenvalue jacobi method
- Arithmetic root (nᵗʰ root)
- Vector arithmetic multiply and divide
- Vector Iterator interface
Improvements
- Internal improvements to Matrix
- Matrix decompositions returned as objects
- Matrix Cholesky decomposition provides L transpose
v0.52.0
New Features
- Grubb's test for statistical outliers
v0.51.0
New Features
- Matrix rowSums
- Matrix columnSums
- Matrix rowMeans
- Matrix columnMeans
- Matrix isNormal
- MatrixFactory diagonal matrix creation method
- MatrixFactory vandermonde matrix creation method
Improvements
- Set custom Matrix tolerances
- Various internal improvements
Backwards Incompatible Changes
- Remove Matrix sampleMeans (use rowMeans or columnMeans instead)
- MatrixFactory create method only works with 2d arrays. 1d arrays no longer work. (use diagonal and vandermonde factory methods instead)
- Statistics methods throw exceptions instead of returning null on bad input
- Change return type of LagrangePolynomial to Polynomial
v0.50.0
New Features
- Matrix isOrthogonal
- Matrix isEqual
- Harmonic sequence
- Hyperharmonic sequence
- Map\Single reciprocal
Improvements
- Support methods for almost equal
- Matrix getDiagonalElements works for non-square matrices
- Use more efficient algorithm in Matrix isSymmetric
- Use more efficient algorithm in Matrix isSkewSymmetric
Backwards Incompatible Changes
- Statistics methods throw exceptions instead of returning null on bad input
v0.49.0
New Features
- Matrix augmentAbove
- Matrix augmentLeft
Improvements
- Object matrix multiplication
v0.48.0
New Features
- Matrix submatrix
- Mahalanobis distance
- Bernoulli distribution mean, median, mode and variance
- Binomial distribution mean and variance
- Geometric distribution mean, median, mode and variance
- Hypergeometric distribution mode and variance
- NegativeBinomial (Pascal) distribution CDF, mean, mode and variance
- Poisson distribution mean, median, mode and variance
- Discrete Uniform distribution variance
Improvements
- Binomial distribution PMF uses more numerically stable multiplication method
- Fix potential divide by zero in TheilSen regression
Backwards Incompatible Changes
- Multinomial distribution moved from Discrete to Multivariate namespace
v0.47.0
New Features
- Beta distribution median, mode, variance
- Cauchy distribution variance
- ChiSquared distribution mode, variance
- Exponential distribution median, mode, variance
- F distribution mode, variance
- Gamma distribution median, mode, variance
- Laplace distribution mode, variance
- Logistic distribution mode, vaiance
- LogLogistic distribution median, mode, variance
- LogNormal distribution mode, variance
- Normal distribution mode, variance
- StandardNormal distribution mode, variance
- StudentT distribution mode, variance
- Uniform distribution median, mode, variance
- Weibull distribution median, mode
Improvements
- Normal distribution rand algorithm changed to Box–Muller transform