Skip to content
Chung Leong edited this page Jan 10, 2022 · 4 revisions

det - Matrix determinant

float det( float[][] $m )

det() returns the determinant 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:

Determinant of m. If m contains multiple matrices, the return value will be an array.

Version

1.0 and above. Prior to version 2.0, det() only accepts 2x2, 3x3, and 4x4 matrices.

Clone this wiki locally