TriangularMatrix<T>.ExtractSymmetricBanded Method

Definition

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

Overload List

ExtractSymmetricBanded(Int32, MatrixTriangle) Returns a symmetric band matrix view or copy of this matrix.
ExtractSymmetricBanded(Int32, MatrixTriangle, Intent) Returns a symmetric band matrix view or copy of this matrix.
Obsolete

ExtractSymmetricBanded(Int32, MatrixTriangle)

Returns a symmetric band matrix view or copy of this 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)

Note: This API is now obsolete.
Returns a symmetric band matrix view or copy of this matrix.
C#
[ObsoleteAttribute("Use GetSymmetricBandedView instead.")]
public 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 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