public Matrix2d(Matrix2d m) { M00 = m.M00; M01 = m.M01; M10 = m.M10; M11 = m.M11; }
public Matrix2d Set(Matrix2d m) { M00 = m.M00; M01 = m.M01; M10 = m.M10; M11 = m.M11; return this; }
public static Matrix2d operator *(Matrix2d a, Matrix2d b) { Matrix2d ret = new Matrix2d(); ret.M00 = a.M00 * b.M00 + a.M01 * b.M10; ret.M01 = a.M00 * b.M01 + a.M01 * b.M11; ret.M10 = a.M10 * b.M00 + a.M11 * b.M10; ret.M11 = a.M10 * b.M01 + a.M11 * b.M11; return ret; }
public static Matrix2d RotationMatrix(double a) { Matrix2d ret = new Matrix2d(); ret.SetRotation(a); return ret; }