Click or drag to resize

SymmetricMatrixItem Property

Gets or sets an element of the matrix.

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.
c
Type: SystemInt32
The (zero-based) column number.

Return Value

Type: Double
The value of the specified matrix entry Mr c.
Remarks

The set operation preserves the symmetry of the matrix; when entry Mr c is changed, entry Mc r is updated automatically.

See Also