TridiagonalMatrix.Item Property
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.0.5.0 (4.0.5.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

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