Does anyone know of a PHP library that handles matrix multiplication, inversion, etc.?
相关问题
- Views base64 encoded blob in HTML with PHP
- Laravel Option Select - Default Issue
- Extract matrix elements using a vector of column i
- PHP Recursively File Folder Scan Sorted by Modific
- Can php detect if javascript is on or not?
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.
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.