method

determinant

v1_9_3_125 - Show latest stable - Class: Matrix
determinant()
public

Returns the determinant of the matrix.

Beware that using Float values can yield erroneous results because of their lack of precision. Consider using exact types like Rational or BigDecimal instead.

Matrix[[7,6], [3,9]].determinant
  => 45