TriangularMatrix<T>.ExtractSymmetricBanded Method

Definition

Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4

Overload List

ExtractSymmetricBanded(Int32, MatrixTriangle) Constructs a new symmetric band matrix from the components of a matrix.
ExtractSymmetricBanded(Int32, MatrixTriangle, Intent) Constructs a new symmetric band matrix from the components of a matrix.

ExtractSymmetricBanded(Int32, MatrixTriangle)

Constructs a new symmetric band matrix from the components of a matrix.
C#
public BandMatrix<T> ExtractSymmetricBanded(
	int bandwidth,
	MatrixTriangle storedTriangle
)

Parameters

bandwidth  Int32
The bandwidth of the BandMatrix<T>.
storedTriangle  MatrixTriangle
A MatrixTriangle value that specifies whether the components are to be taken from the upper or lower triangular part of the matrix.

Return Value

BandMatrix<T>
A symmetric BandMatrix<T> with the same components as the matrix with bandwidth bandwidth.

ExtractSymmetricBanded(Int32, MatrixTriangle, Intent)

Constructs a new symmetric band matrix from the components of a matrix.
C#
public abstract BandMatrix<T> ExtractSymmetricBanded(
	int bandwidth,
	MatrixTriangle storedTriangle,
	Intent intent
)

Parameters

bandwidth  Int32
The bandwidth of the BandMatrix<T>.
storedTriangle  MatrixTriangle
A MatrixTriangle value that specifies whether the components are to be taken from the upper or lower triangular part of the matrix.
intent  Intent
An Intent value that specifies the intended use of the extracted 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