transposeMultiply method Null safety
- Matrix2 arg
Multiply a transposed this with arg
.
Implementation
void transposeMultiply(Matrix2 arg) {
final m00 = _m2storage[0];
final m01 = _m2storage[1];
final m10 = _m2storage[2];
final m11 = _m2storage[3];
final argStorage = arg._m2storage;
_m2storage[0] = (m00 * argStorage[0]) + (m01 * argStorage[1]);
_m2storage[2] = (m00 * argStorage[2]) + (m01 * argStorage[3]);
_m2storage[1] = (m10 * argStorage[0]) + (m11 * argStorage[1]);
_m2storage[3] = (m10 * argStorage[2]) + (m11 * argStorage[3]);
}