Skip to content

Releases: markrogoyski/math-php

v2.10.0

17 Apr 00:17
Compare
Choose a tag to compare

New Features

  • NumberTheory\Integer isPrime

v2.9.0

03 Mar 00:44
Compare
Choose a tag to compare

New Features

  • Distance chebyshev

Improvements

  • Internal build CI/CD improvements

v2.8.1

19 May 05:05
Compare
Choose a tag to compare

Improvements

  • Internal improvements to improve conformance with static analysis tools

v2.8.0

07 May 18:07
Compare
Choose a tag to compare

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 to assertTargetInPoints
    • NumericalDifferentiation::isSpacingConstant changed to assertSpacingConstant

v2.7.0

31 Dec 07:17
Compare
Choose a tag to compare

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

10 Apr 05:52
Compare
Choose a tag to compare

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

22 Nov 06:06
Compare
Choose a tag to compare

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

28 Jul 02:35
Compare
Choose a tag to compare

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 handles pow 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

14 Jul 05:59
Compare
Choose a tag to compare

New Features

  • Matrix SVD (Singular Value Decomposition)
  • Polynomial companion matrix

v2.2.0

11 Jul 16:23
Compare
Choose a tag to compare

New Features

  • PLS (Partial Least Squares Regression)

Improvements

  • Add custom __debugInfo to NumericMatrix