Ejemplo n.º 1
0
 /// <summary>
 /// Copy constructor for the 2x2 matrix struct
 /// </summary>
 /// <param name="A">Matrix to be copied</param>
 public Matrix2x2(Matrix2x2 A)
 {
     this.a = A.a;
     this.b = A.b;
     this.c = A.c;
     this.d = A.d;
 }
Ejemplo n.º 2
0
 public bool Equals(Matrix2x2 other)
 {
     return(this.a == other.a && this.b == other.b && this.c == other.c && this.d == other.d);
 }