postmultiply method

void postmultiply(
  1. Matrix2 arg

Transforms this into the product of this as a row vector, postmultiplied by matrix, arg. If arg is a rotation matrix, this is a computational shortcut for applying, the inverse of the transformation.


void postmultiply(Matrix2 arg) {
  final argStorage =;
  final v0 = _v2storage[0];
  final v1 = _v2storage[1];
  _v2storage[0] = v0 * argStorage[0] + v1 * argStorage[1];
  _v2storage[1] = v0 * argStorage[2] + v1 * argStorage[3];