TriangularMatrix<T>.GetBandedView Method

Returns an upper or lower band matrix view or copy of this triangular matrix.

Definition

Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.5.0
C#
public abstract BandMatrix<T> GetBandedView(
	MatrixTriangle storedTriangle,
	int bandwidth,
	MatrixDiagonal unitDiagonal,
	Intent intent
)

Parameters

storedTriangle  MatrixTriangle
A MatrixTriangle value that specifies whether to construct an upper or a lower triangular matrix.
bandwidth  Int32
The bandwidth of the BandMatrix<T>.
unitDiagonal  MatrixDiagonal
A MatrixDiagonal value that specifies whether the diagonal elements are read from this matrix or treated as implied ones.
intent  Intent
An Intent value that specifies the intended use of the returned BandMatrix<T>.

Return Value

BandMatrix<T>
A BandMatrix<T> with the same components as the matrix with upper and lower bandwidth equal to bandwidth.

See Also