Hi,
does anyone know of a library in PHP that handles matrix multiplication, inversion, etc.? I don't mind rolling my own, but I don't particularly fancy implementing inversion from scratch...
Thanks,
Ben
Hi,
does anyone know of a library in PHP that handles matrix multiplication, inversion, etc.? I don't mind rolling my own, but I don't particularly fancy implementing inversion from scratch...
Thanks,
Ben
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.