コード例 #1
0
ファイル: MatrixTests.cs プロジェクト: m13253/xwt
		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);
		}
コード例 #2
0
ファイル: Matrix.cs プロジェクト: wesreid/xwt
        public static Matrix operator *(Matrix trans1, Matrix trans2)
        {
            var result = new Matrix(trans1);

            result.Append(trans2);
            return(result);
        }
コード例 #3
0
ファイル: Matrix.cs プロジェクト: JohnACarruthers/xwt
 public static Matrix operator *(Matrix trans1, Matrix trans2)
 {
     var result = new Matrix (trans1);
     result.Append (trans2);
     return result;
 }
コード例 #4
0
ファイル: MatrixTests.cs プロジェクト: jbeaurain/xwt
 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);
 }