Skip to content

Releases: markrogoyski/math-php

v0.26.0

16 Apr 04:44
Compare
Choose a tag to compare
v0.26.0 Pre-release
Pre-release

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

02 Apr 05:00
Compare
Choose a tag to compare
v0.25.0 Pre-release
Pre-release

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

27 Mar 05:02
Compare
Choose a tag to compare
v0.24.0 Pre-release
Pre-release

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

13 Mar 05:10
Compare
Choose a tag to compare
v0.23.0 Pre-release
Pre-release

New Features

  • Number Theory - Integers
    • Perfect powers
  • Advanced Sequences
    • Perfect powers
    • Not perfect powers
    • Primes up to n
  • Algebra
    • Quadratic equation

v0.22.0

01 Feb 04:57
Compare
Choose a tag to compare
v0.22.0 Pre-release
Pre-release

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

24 Jan 06:53
Compare
Choose a tag to compare
v0.21.0 Pre-release
Pre-release

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

13 Jan 07:15
Compare
Choose a tag to compare
v0.20.0 Pre-release
Pre-release

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

31 Dec 17:20
Compare
Choose a tag to compare
v0.19.0 Pre-release
Pre-release

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

28 Dec 23:34
Compare
Choose a tag to compare
v0.18.0 Pre-release
Pre-release

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

22 Dec 01:05
Compare
Choose a tag to compare
v0.17.0 Pre-release
Pre-release

New Features

  • Two-sample z significance test