Gets and sets the value at the specified position. Symmetry is maintained.

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

Syntax

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

Parameters

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

Exceptions

ExceptionCondition
CenterSpace.NMath.Core..::.IndexOutOfRangeExceptionThrown when using a row-column pair that is outside the dimensions of this matrix.

See Also