Skip to content

Releases: markrogoyski/math-php

v0.56.0

04 Dec 06:50
Compare
Choose a tag to compare
v0.56.0 Pre-release
Pre-release

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

19 Nov 15:17
Compare
Choose a tag to compare
v0.55.0 Pre-release
Pre-release

New Features

  • Arbitrary length integers

Improvements

  • Factorial optimization

v0.54.0

13 Oct 05:06
Compare
Choose a tag to compare
v0.54.0 Pre-release
Pre-release

New Features

  • Matrix isNilpotent
  • Matrix isRectangularDiagonal
  • Matrix mapRows
  • MathPHP logo

Improvements

  • MatrixFactory random matrix custom lower and upper bounds for random number
  • PSR-12 style compliance
  • Bugfix: powerIteration random failure - Issue 346

v0.53.0

10 Sep 05:35
Compare
Choose a tag to compare
v0.53.0 Pre-release
Pre-release

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

12 Jul 05:37
Compare
Choose a tag to compare
v0.52.0 Pre-release
Pre-release

New Features

  • Grubb's test for statistical outliers

v0.51.0

06 Jun 05:24
Compare
Choose a tag to compare
v0.51.0 Pre-release
Pre-release

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

23 Apr 03:54
Compare
Choose a tag to compare
v0.50.0 Pre-release
Pre-release

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

23 Feb 20:09
Compare
Choose a tag to compare
v0.49.0 Pre-release
Pre-release

New Features

  • Matrix augmentAbove
  • Matrix augmentLeft

Improvements

  • Object matrix multiplication

v0.48.0

16 Dec 05:45
Compare
Choose a tag to compare
v0.48.0 Pre-release
Pre-release

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

22 Nov 04:22
Compare
Choose a tag to compare
v0.47.0 Pre-release
Pre-release

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