public SquareMatrix(MatrixCell <T>[,] m)
     : base(m)
 {
     if (this.CheckIsSquare())
     {
         // Do nothing
     }
     else
     {
         throw new Exception(this.mException);
     }
 }
 public DiagonalMatrix(MatrixCell <T>[,] m)
     : base(m)
 {
     if (this.CheckIsDiagonal())
     {
         // Do nothing
     }
     else
     {
         throw new Exception(this.mException);
     }
 }
Exemple #3
0
 protected Matrix(MatrixCell <T>[,] matrice)
 {
     this.Height  = matrice.GetLength(0);
     this.Width   = matrice.GetLength(1);
     this.Matrice = matrice;
 }