Releases: markrogoyski/math-php
Releases · markrogoyski/math-php
v0.26.0
New Features
- Initial Complex number class
- Complex number support to quadratic and cubic equations
- Initial Eigenvalue strategy class (2x2 and 3x3 matrices using root equations)
- Matrix
- isLowerTriangular
- isUpperTriangular
- isTriangular
- isDiagonal
- Beta function convenience method
Improvements
- Add BadDataException to LeastSquares regression method trait if degrees of freedom is 0
- Complex Root of Quadratic Function
v0.25.0
New Features
- Matrix
- isSingular
- isNonsingular
- isInvertible
- leadingPrincipalMinor
- isPositiveDefinite
- isPositiveSemidefinite
- isNegativeDefinite
- isNegativeSemidefinite
- Number Theory
- Integer coprime
- Arithmetic
- digitSum
- digitalRoot
- Basic sequences
- digitSum
- digitalRoot
v0.24.0
New Features
- Arithmetic cube root
- Algebra cubic equation
- Matrix Kronecker sum
- Vector Kronecker product
- Number theory prime factorization
Improvements
- Improved quadratic equation edge case handling
v0.23.0
New Features
- Number Theory - Integers
- Perfect powers
- Advanced Sequences
- Perfect powers
- Not perfect powers
- Primes up to n
- Algebra
- Quadratic equation
v0.22.0
New Features
- Circular statistics (directional statistics)
- Circular mean
- Resultant length
- Mean resultant length
- Circular variance
- Circular standard deviation
- Describe
- Finance profitability index
Improvements
- Update Finance payback to be both simple and discounted payback
v0.21.0
New Features
- Finance interest payment
- Finance principle payment on an annuity
- Finance payback
- Make files for unit tests, linting, and code coverage
v0.20.0
New Features
- Finance net present value
- Finance rate function
- Finance internal rate of return
- Finance modified internal rate of return
- Finance payment periods of an annuity
Improvements
- Update Newton's Method to handle non-convergence and infinite slopes.
v0.19.0
New Features
- Matrix sample mean
- Matrix mean deviation form
- Covariance matrix
- Matrix representation as array of column vectors
- Finance future value
- Finance present value
v0.18.0
New Features
- Joint entropy
- Rényi entropy
- Perplexity
- Matrix scalar division
- Finance: Annual Equivalent Rate (AER)
Improvements
- Fix vector pnorm to take absolute value of each element
Backwards Incompatible Changes
- Refactor distances and divergences from InformationTheory\Entropy to Statistics\Distance
v0.17.0
New Features
- Two-sample z significance test