inverse - chung-leong/qb GitHub Wiki
inverse - Matrix inverse
float[][] inverse( float[][] $m )
inverse() returns the inverse of matrix m.
Parameters:
m - The matrix. It can be a single two-dimensional array or an array of two-dimensional arrays. It must be a square matrix.
Return Value:
Inverse of m. If m is degenerate, then all elements in the returned matrix will be NaN. If m contains multiple matrices, the return value will also be an array of matrices.
Version
1.0 and above. Prior to version 2.0, inverse() only accepts 2x2, 3x3, and 4x4 matrices.