Powerful modern math library for PHP: Features descriptive statistics and regressions; Continuous and discrete probability distributions; Linear algebra with matrices and vectors, Numerical analysis; special mathematical functions; Algebra
MIT License
isPrime
Published by markrogoyski 8 months ago
chebyshev
Published by markrogoyski over 1 year ago
Published by markrogoyski over 1 year ago
rowAddVector
columnAddVector
Sequence\NonIntenger::hyperharmonic
NumericalDifferentiation::isTargetInPoints
changed to assertTargetInPoints
NumericalDifferentiation::isSpacingConstant
changed to assertSpacingConstant
Published by markrogoyski almost 2 years ago
regularizedIncompleteBeta
: Addresses issue 458Published by markrogoyski over 2 years ago
Average::truncatedMean
behavior at 50% trim made consistentAverage::truncatedMean
throws exception if trim percent greater than 50% rather than error or unpredictable results.Published by markrogoyski almost 3 years ago
logbeta
logGamma
logGammaCorr
stirlingError
gamma
beta
Published by markrogoyski over 3 years ago
exp
)pow
)polarForm
to compute the right valueshyperharnomic
non-integer sequence. Previously was computing the wrong thingArbitraryInterger
handles pow
of negative exponentspolarForm
now returns an array rather than a Complex number, as the Complex return was incorrecthyperharmonic
non-integer sequence changed due to previous implementation being incorrectPublished by markrogoyski over 3 years ago
Published by markrogoyski over 3 years ago
__debugInfo
to NumericMatrix
Published by markrogoyski over 3 years ago
Published by markrogoyski over 3 years ago
walk
method to map a function to all values without mutation or returning a valueMatrixFactory
creates more matrix typesMatrixFactory::createNumeric
to create NumericMatrix
typesMatrixFactory::createFromRowVector
MatrixFactory::createFromColumnVector
ObjectMatrix
improvements
trace
scalarMultiply
ComplexMatrix
MathPHP\Statistics\Distance::kullbackLeiblerDivergence
removed (Use MathPHP\Statistics\Divergence::kullbackLeibler
instead)MathPHP\Statistics\Distance::jensenShannonDivergence
removed (Use MathPHP\Statistics\Divergence::jensenShannon
instead)\ArrayAccess
interface to access decomposition matrixes. Use properties instead.
MathPHP\LinearAlgebra\Decomposition\Cholesky
$cholesky['L']
, $cholesky['Lᵀ']
, $cholesky['LT']
removed, use $cholesky->L
, $cholesky->Lᵀ
, $cholesky->LT
instead.MathPHP\LinearAlgebra\Decomposition\Crout
$crout['L']
, $crout['U']
removed, use $crout->L
, $crout->U
instead.MathPHP\LinearAlgebra\Decomposition\LU
$LU['L']
, LU['U']
, LU['P']
removed, use $LU->L
, $LU->U
, $LU->P
instead.MathPHP\LinearAlgebra\Decomposition\QR
$QR['Q']
, $QR['R']
removed, use $QR->Q
, $QR->R
instead.MathPHP\Statistics\Distance::bhattacharyyaDistance
renamed to MathPHP\Statistics\Distance::bhattacharyya
MathPHP\Statistics\Distance::hellingerDistance
renamed to MathPHP\Statistics\Distance::hellinger
MathPHP\Functions\Polynomial
moved to MathPHP\Expression\Polynomial
MathPHP\Functions\Piecewise
moved to MathPHP\Expression\Piecewise
MatrixFactory
.Matrix
is not a base abstract class for all matrix classes to extendMatrix
renamed NumericMatrix
Matrix
base method createZeroValue
ObjectMatrix
classes that implement ObjectArithmetic
RowVector
removed. Use MatrixFactory::createFromRowVector
insteadColumnVector
removed. Use MatrixFactory::createFromColumnVector
insteadPublished by markrogoyski over 3 years ago
Published by markrogoyski almost 4 years ago
Published by markrogoyski almost 4 years ago
Published by markrogoyski almost 4 years ago
Published by markrogoyski almost 4 years ago
Published by markrogoyski about 4 years ago
Published by markrogoyski about 4 years ago
Published by markrogoyski about 4 years ago