method

determinant_e

Importance_1
determinant_e() public

Returns the determinant of the matrix. If the matrix is not square, the result is 0. This method’s algorism is Gaussian elimination method. This method uses Euclidean algorism. If all elements are integer, really exact value. But, if an element is a float, can’t return exact value.

Matrix[[7,6], [3,9]].determinant
  => 63
Show source
Register or log in to add new notes.