TridiagonalMatrixItem Property

Gets or sets a matrix element.

Definition

Namespace: Meta.Numerics.Matrices
Assembly: Meta.Numerics (in Meta.Numerics.dll) Version: 4.2.0+6d77d64445f7d5d91b12e331399c4362ecb25333
C#
public override double this[
	int r,
	int c
] { get; set; }

Parameters

r  Int32
The (zero-based) row number of the element.
c  Int32
The (zero-based) column number of the element.

Return Value

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