public virtual double this[int i, int j]
{
get
{
if (!_asTransposeRef)
return _matrix[i][j];
else
return _matrix[j][i];
}
set
{
if (_asTransposeRef)
throw new InvalidOperationException("Cannot modify matrix in read-only transpose mode!");
_matrix[i][j] = value;
}
}