public double this[int iRow, int iCol] // Access this matrix as a 2D array { get { return mat[iRow, iCol]; } set { mat[iRow, iCol] = value; } }