Skip to content

Releases: markrogoyski/math-php

v0.59.0

19 Feb 15:00

Choose a tag to compare

New Features

  • Add population and sample kurtosis
  • Changed default kurtosis algorithm to the more common population kurtosis
  • kurtosis now takes an optional parameter to set the kurtosis type algorithm

v0.58.0

07 Feb 06:45

Choose a tag to compare

v0.58.0 Pre-release
Pre-release

Improvements

  • Changed default skewness algorithm to the more common sample skewness
  • skewness now takes an optional parameter to set the skewness type algorithm
  • Improvements to skewness algorithms

v0.57.0

08 Jan 02:52

Choose a tag to compare

v0.57.0 Pre-release
Pre-release

New Features

  • Number\Rational basic getters
    • getWholePart
    • getNumerator
    • getDenominator
  • Set Theory n-ary Cartesian product

Improvements

  • Data direction control for Matrix meanDeviation and covarianceMatrix
  • Algebra factors performance improvement

v0.56.0

04 Dec 06:50

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

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

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

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

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

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

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