public void Append () { // NB pick test matrices so that Append and Prepend results differ var m = new Matrix (1, 2, 3, 4, 5, 6); m.Append (new Matrix (6, 5, 4, 3, 2, 1)); CheckMatrix (new Matrix (14, 11, 34, 27, 56, 44), m); }
public static Matrix operator *(Matrix trans1, Matrix trans2) { var result = new Matrix(trans1); result.Append(trans2); return(result); }
public static Matrix operator *(Matrix trans1, Matrix trans2) { var result = new Matrix (trans1); result.Append (trans2); return result; }
public void Append() { var m = new Matrix (1, 2, 3, 4, 5, 6); m.Append (m); CheckMatrix (new Matrix (7, 10, 15, 22, 28, 40), m); }