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.MatrixAssembly: 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); } |
Exceptions
| Exception | Condition |
|---|---|
| CenterSpace.NMath.Matrix..::.NonModifiableElementException | Thrown when an attempt is made to assign a non-zero value to a matrix element outside the upper triangular region. |