Constructs a new symmetric BandMatrix from the components of a matrix.

Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (Extreme.Numerics)

Syntax

Visual Basic (Declaration)
Public Shared Function ExtractSymmetric ( _
	matrix As Matrix, _
	bandwidth As Integer, _
	triangleMode As MatrixTriangleMode, _
	intent As Intent _
) As BandMatrix
C#
public static BandMatrix ExtractSymmetric (
	Matrix matrix,
	int bandwidth,
	MatrixTriangleMode triangleMode,
	Intent intent
)
C++
public:
static BandMatrix^ ExtractSymmetric (
	Matrix^ matrix, 
	int bandwidth, 
	MatrixTriangleMode triangleMode, 
	Intent intent
)

Parameters

matrix (Extreme.Mathematics.LinearAlgebra.Matrix)
The Matrix that supplies the components.
bandwidth (System.Int32)
The bandwidth of the BandMatrix.
triangleMode (Extreme.Mathematics.LinearAlgebra.MatrixTriangleMode)
A MatrixTriangleMode value that specifies whether the components are to be taken from the upper or lower triangular part of matrix.
intent (Extreme.Mathematics.Intent)
A Intent value that specifies the intended use of the extracted BandMatrix.

Return Value

A BandMatrix with the same components as matrix with lower bandwidth lowerBandwidth and upper bandwidth upperBandwidth.