subMatrixs method

Mat33 subMatrixs(
  1. Mat33 a,
  2. Mat33 b
)

Subtract A matrix from B matrix

Implementation

Mat33 subMatrixs(Mat33  a, Mat33 b ) {
  List<double> te = elements, tem1 = a.elements, tem2 = b.elements;
  te[0] = tem1[0] - tem2[0]; te[1] = tem1[1] - tem2[1]; te[2] = tem1[2] - tem2[2];
  te[3] = tem1[3] - tem2[3]; te[4] = tem1[4] - tem2[4]; te[5] = tem1[5] - tem2[5];
  te[6] = tem1[6] - tem2[6]; te[7] = tem1[7] - tem2[7]; te[8] = tem1[8] - tem2[8];
  return this;
}