Matrix artihmetic in PHP? [closed]

2020-02-13 16:01发布

Does anyone know of a PHP library that handles matrix multiplication, inversion, etc.?

标签: php matrix
2条回答
虎瘦雄心在
2楼-- · 2020-02-13 16:31

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.

查看更多
家丑人穷心不美
3楼-- · 2020-02-13 16:48

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.

查看更多
登录 后发表回答