public Matrixi22 Add(Matrixi22 other) { return(new Matrixi22( a + other.a, b + other.b, c + other.c, d + other.d)); }
public Matrixi22 Subtract(Matrixi22 other) { return(new Matrixi22( a - other.a, b - other.b, c - other.c, d - other.d)); }
public Matrixi22 Mul(Matrixi22 other) { return(new Matrixi22( a * other.a + b * other.c, a * other.b + b * other.d, c * other.a + c * other.c, d * other.b + d * other.d )); }
public bool Equals(Matrixi22 other) { var areEqual = (a == other.a) && (b == other.b) && (c == other.c) && (d == other.d); return(areEqual); }
public Matrixi22 Div(Matrixi22 other) { //return Mul(other.Inv()); return(Mul(other)); }