TridiagonalMatrixItem Property |
Gets or sets a matrix element.
Namespace:
Meta.Numerics.Matrices
Assembly:
Meta.Numerics (in Meta.Numerics.dll) Version: 4.1.4
Syntax public override double this[
int r,
int c
] { get; set; }
Public Overrides Default Property Item (
r As Integer,
c As Integer
) As Double
Get
Set
public:
virtual property double default[int r, int c] {
double get (int r, int c) override;
void set (int r, int c, double value) override;
}
abstract Item : float with get, set
override Item : float with get, set
Parameters
- r
- Type: SystemInt32
The (zero-based) row number of the element. - c
- Type: SystemInt32
The (zero-based) column number of the element.
Return Value
Type:
DoubleM
r,cRemarks Get and set operates normally for elements on the tri-diagonal strip. Other elements
will always have the value zero, and any attempt to set them to a non-zero value will
result in an InvalidOperationException.
See Also