determinant method

double determinant()

Computes and returns the determinant of this matrix.

Implementation

double determinant() {
  final te = storage;

  final a = te[0],
      b = te[1],
      c = te[2],
      d = te[3],
      e = te[4],
      f = te[5],
      g = te[6],
      h = te[7],
      i = te[8];

  return a * e * i -
      a * f * h -
      b * d * i +
      b * f * g +
      c * d * h -
      c * e * g;
}