Exemple #1
0
		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);
		}
Exemple #2
0
        public static Matrix operator *(Matrix trans1, Matrix trans2)
        {
            var result = new Matrix(trans1);

            result.Append(trans2);
            return(result);
        }
Exemple #3
0
 public static Matrix operator *(Matrix trans1, Matrix trans2)
 {
     var result = new Matrix (trans1);
     result.Append (trans2);
     return result;
 }
Exemple #4
0
 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);
 }