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: 4.1.4
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

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