Constructs a new symmetric band matrix from the components of a matrix.
Namespace: Extreme.Mathematics.Generic.LinearAlgebraAssembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.16312.0)
public static BandMatrix<T> ExtractSymmetric(
Matrix<T> matrix,
int bandwidth,
MatrixTriangle triangleMode,
Intent intent
)
Public Shared Function ExtractSymmetric (
matrix As Matrix(Of T),
bandwidth As Integer,
triangleMode As MatrixTriangle,
intent As Intent
) As BandMatrix(Of T)
public:
static BandMatrix<T>^ ExtractSymmetric(
Matrix<T>^ matrix,
int bandwidth,
MatrixTriangle triangleMode,
Intent intent
)
static member ExtractSymmetric :
matrix : Matrix<'T> *
bandwidth : int *
triangleMode : MatrixTriangle *
intent : Intent -> BandMatrix<'T>
Parameters
- matrix
- Type: Extreme.Mathematics.GenericMatrixT
The matrix that supplies the components. - bandwidth
- Type: SystemInt32
The bandwidth of the BandMatrixT. - triangleMode
- Type: Extreme.MathematicsMatrixTriangle
A MatrixTriangle
value that specifies whether the components are to be taken from the upper or lower
triangular part of matrix. - intent
- Type: Extreme.MathematicsIntent
A Intent value that specifies the intended use of the extracted
BandMatrixT.
Return Value
Type:
BandMatrixT
A
BandMatrixT with the same components as
matrix with
upper and lower bandwidth equal to
bandwidth.
Numerical Libraries
Supported in: 5.x
Reference