scaleAdjoint method

void scaleAdjoint (double scale)

Converts into Adjugate matrix and scales by scale

Implementation

void scaleAdjoint(double scale) {
  final double m00 = _m3storage[0];
  final double m01 = _m3storage[3];
  final double m02 = _m3storage[6];
  final double m10 = _m3storage[1];
  final double m11 = _m3storage[4];
  final double m12 = _m3storage[7];
  final double m20 = _m3storage[2];
  final double m21 = _m3storage[5];
  final double m22 = _m3storage[8];
  _m3storage[0] = (m11 * m22 - m12 * m21) * scale;
  _m3storage[1] = (m12 * m20 - m10 * m22) * scale;
  _m3storage[2] = (m10 * m21 - m11 * m20) * scale;
  _m3storage[3] = (m02 * m21 - m01 * m22) * scale;
  _m3storage[4] = (m00 * m22 - m02 * m20) * scale;
  _m3storage[5] = (m01 * m20 - m00 * m21) * scale;
  _m3storage[6] = (m01 * m12 - m02 * m11) * scale;
  _m3storage[7] = (m02 * m10 - m00 * m12) * scale;
  _m3storage[8] = (m00 * m11 - m01 * m10) * scale;
}