cmatrix.Matrix.det¶
- Matrix.det()¶
Compute the associated determinant of the self matrix. To realize it, I decompose the self Matrix into from LU method and compute the associated determinant independantly. Teproduct of the Lower and Upper determinant give the det of the self matrix.
- Returns
- double
The compute determinant
Examples
>>> m=rand(3) >>> print(m) | +3.000 | +9.000 | +3.000 | | +5.000 | +3.000 | +5.000 | | +8.000 | +8.000 | +2.000 | printed >>> print(m.det()) 215.99999999999994