determinant method

double determinant()

Returns the determinant of this matrix.

Implementation

double determinant() {
  final x = _m3storage[0] *
      ((_m3storage[4] * _m3storage[8]) - (_m3storage[5] * _m3storage[7]));
  final y = _m3storage[1] *
      ((_m3storage[3] * _m3storage[8]) - (_m3storage[5] * _m3storage[6]));
  final z = _m3storage[2] *
      ((_m3storage[3] * _m3storage[7]) - (_m3storage[4] * _m3storage[6]));
  return x - y + z;
}