TriangularMatrix<T>.StoredTriangle Property

Gets a value that indicates whether the elements of a TriangularMatrix<T> are stored in the upper or lower part.

Definition

Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
public MatrixTriangle StoredTriangle { get; }

Property Value

MatrixTriangle
Upper if the elements are stored in the upper triangular part of its storage,; or Lower if the matrix is stored in the lower triangular part.

Remarks

This property is distinct from MatrixTriangle, which indicates whether the matrix is upper or lower triangular. The relationship between the two is determined by the ElementOrder property. If the elements are stored in column-major order (the default), then the value of this property is the same as MatrixTriangle. If the elements are stored in row-major order, then the value of this property is the opposite of MatrixTriangle.

See Also