numl.Math.LinearAlgebra.Matrix.this C# (CSharp) Method

this() public method

Accessor.
public this ( int i, int j ) : double
i int Row.
j int Column.
return double
        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;
            }
        }

Same methods

Matrix::this ( bool>.Func f, VectorType t ) : Matrix
Matrix::this ( int i ) : Vector
Matrix::this ( int i, VectorType t ) : Vector
Matrix::this ( bool>.Func f ) : double
Matrix::this ( IEnumerable slice ) : double