Releases: markrogoyski/math-php
Releases · markrogoyski/math-php
v2.10.0
v2.9.0
New Features
- Distance
chebyshev
Improvements
- Internal build CI/CD improvements
v2.8.1
Improvements
- Internal improvements to improve conformance with static analysis tools
v2.8.0
New Features
- Matrix
rowAddVector
- Matrix
columnAddVector
Improvements
- Better error handling and exception message in
Sequence\NonIntenger::hyperharmonic
- Internal code improvements to conform to static analysis checks
Backwards Incompatible Changes
- Helper method names changed (public abstract methods but not part of published interface)
NumericalDifferentiation::isTargetInPoints
changed toassertTargetInPoints
NumericalDifferentiation::isSpacingConstant
changed toassertSpacingConstant
v2.7.0
Improvements
- Improved algorithm for
regularizedIncompleteBeta
: Addresses issue 458 - Issue 456: Improved PHPDoc blocks: Changed "number" to "int|float"
- Added PHP 8.2 for CI test target
v2.6.0
v2.6.0 - 2022-04-10
Improvements
Average::truncatedMean
behavior at 50% trim made consistent- PHP 8.1 compatibility improvements
Backwards Incompatible Changes
Average::truncatedMean
throws exception if trim percent greater than 50% rather than error or unpredictable results.
v2.5.0
New Features
- Special function
logbeta
- Special function
logGamma
- Special function
logGammaCorr
- Special function
stirlingError
Improvements
- Improvements in StudentT continuous distribution
- Improvements in special function
gamma
- Improvements in special function
beta
Bug Fixes
- Issue 393 (regularizedIncompleteBeta NAN)
- Issue 429 (Linear regression CI division by zero)
v2.4.0
New Features
- Complex Exponential (
exp
) - Complex Exponentiation (
pow
) - Zipf's Law Discrete Distribution
- Generalized harmonic non-integer sequence
Improvements
- Fixed Complex
polarForm
to compute the right values - Fixed
hyperharnomic
non-integer sequence. Previously was computing the wrong thing - Fixed how
ArbitraryInterger
handlespow
of negative exponents
Backwards Incompatible Changes
- Complex
polarForm
now returns an array rather than a Complex number, as the Complex return was incorrect - Interface to
hyperharmonic
non-integer sequence changed due to previous implementation being incorrect
v2.3.0
New Features
- Matrix SVD (Singular Value Decomposition)
- Polynomial companion matrix
v2.2.0
New Features
- PLS (Partial Least Squares Regression)
Improvements
- Add custom
__debugInfo
toNumericMatrix