Click or drag to resize
TridiagonalMatrixItem Property
Gets or sets a matrix element.

Namespace:  Meta.Numerics.Matrices
Assembly:  Meta.Numerics (in Meta.Numerics.dll) Version: 3.1.0.0 (3.1.0.0)
Syntax
public override double this[
	int r,
	int c
] { 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: Double
Mr,c
Remarks

Elements on the tridiagonal strip can be set and gotten normally. 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