Matrix artihmetic in PHP? [closed]
Question
Does anyone know of a PHP library that handles matrix multiplication, inversion, etc.?
Solution
You could try the Math_Matrix library. I haven't used it, but it seems to be fairly comprehensive, going beyond simple matrix arithmetic to also include things like calculating the determinant or solving systems of equations.
OTHER TIPS
There is a relatively recent library for Linear Regression for PHP. This library does contain classes for matrix multiplication, and unit tests with 100% code coverage.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow