コード例 #1
0
 public static void PrintMatrix(ref Matrix[] matrix)
 {
     for (int i = 0; i < matrix.Length; i++)
     {
         try
         {
             try
             {
                 float[,] mat = MathM.Matrix3(matrix[i].matrix, matrix[i + 1].matrix);
                 MathM.PrintMatrix(ref mat);
                 Console.WriteLine();
             }
             catch (NullReferenceException e) { }
         }
         catch (IndexOutOfRangeException)
         {
         }
     }
 }
コード例 #2
0
 public float[,] MultiMatrixs(ref float[,] otherMatrix)
 {
     return(MathM.Matrix3(this.matrix, otherMatrix));
 }
コード例 #3
0
 public float[,] MultiMatrixs(ref float[,] matrixOne, ref float[,] matrixTwo)
 {
     return(matrix = MathM.Matrix3(matrixOne, matrixTwo));
 }