Gets and sets the value at the specified position. Zero matrix elements are not stored, so assigning a non-zero value to a matrix element above the diagonal of the matrix raises an exception.

Namespace:  CenterSpace.NMath.Matrix
Assembly:  NMath (in NMath.dll) Version: 5.1.0.0

Syntax

C#
public FloatComplex this[
	int row,
	int col
] { get; set; }
Visual Basic (Declaration)
Public Default Property Item ( _
	row As Integer, _
	col As Integer _
) As FloatComplex
Visual C++
public:
property FloatComplex default[int row, int col] {
	FloatComplex get (int row, int col);
	void set (int row, int col, FloatComplex value);
}

Parameters

row
Type: System..::.Int32
col
Type: System..::.Int32

Exceptions

ExceptionCondition
CenterSpace.NMath.Matrix..::.NonModifiableElementExceptionThrown when an attempt is made to assign a non-zero value to a matrix element outside the lower triangular region.

See Also