Releases: markrogoyski/math-php
Releases · markrogoyski/math-php
v0.16.0
New Features
- Information Theory
- Shannon entropy (bits, nats, hartleys)
- Cross entropy
- Bhattacharyya distance
- Kullback-Leibler divergence
- Hellinger distance
- Jensen-Shannon divergence
- Linear Algebra
- vectorMultiply method on Matrix to return Vector when multiply with a Vector
v0.15.0
New Features
- Lazy caterer's sequence
- Magic squares sequence
v0.14.0
New Features
- Look-and-say sequence
Version v0.13.0
New Features
- Custom exception classes
Improvements
- Refactor exceptions to use custom exception classes
v0.12.0
New Features
- Softmax function
- Effect size η² (Eta-squared)
- Effect size η²p (Partial eta-squared)
- Effect size ω² (omega-squared)
- Effect size Cohen's ƒ²
- Effect size Cohen's q
- Effect size Cohen's d
- Effect size Hedges' g
- Effect size Glass' Δ (glass' delta)
Improvements
- Replace mt_rand with random_int
v0.11.0
Backwards Incompatible Changes
- Change root namespace from Math to MathPHP
- (Run composer update to update autoloader)
V0.10.0
New Features
- Clamped Cubic Spline Interpolation
- Custom variable in Polynomial class
Improvements
- Refactor interpolation techniques
v0.9.0
New Features
- Natural cubic spline interpolation
- Vector direct product
v0.8.0
New Features
- Set Theory
- Matrix kronecker product
- Matrix augment below
Backwards Incompatible Changes
- Some null return values changed to NAN when computation is invalid
v0.7.0
New Features
- Matrix solve linear system of equations
- Noncentral T distribution
- Piecewise function class
- Initial Finance class (pmt function)
- Vector scalar multiplication
- Vector normalization
- Vector scalar division
- Vector perpendicular operator
- Vector projections
- Vector perp and perp dot product
Improvements
- Add getters to Polynomial for degree and coefficients
- Improvements to gamma function