MatrixDeterminant

From the Oblivion ConstructionSet Wiki
Revision as of 00:26, 10 August 2010 by imported>DragoonWraith
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function added by the Oblivion Script Extender.

Syntax:

(determinant:float) MatrixDeterminant squareMatrix:array 
(determinant:float) det squareMatrix:array

Returns the determinant of a square matrix.

Warning: If the matrix is not square, the return value will be zero, but zero is also a possible value for an actual determinant; it is the scripter's responsibility to ensure that the matrix is square.