Constructs a new symmetric band matrix from the components of a matrix.
Namespace: Extreme.Mathematics.LinearAlgebraAssembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.16312.0)
public static BandMatrix ExtractSymmetric(
Matrix matrix,
int bandwidth,
MatrixTriangle triangleMode
)
Public Shared Function ExtractSymmetric (
matrix As Matrix,
bandwidth As Integer,
triangleMode As MatrixTriangle
) As BandMatrix
public:
static BandMatrix^ ExtractSymmetric(
Matrix^ matrix,
int bandwidth,
MatrixTriangle triangleMode
)
static member ExtractSymmetric :
matrix : Matrix *
bandwidth : int *
triangleMode : MatrixTriangle -> BandMatrix
Parameters
- matrix
- Type: Extreme.MathematicsMatrix
The Matrix that supplies the components. - bandwidth
- Type: SystemInt32
The bandwidth of the BandMatrix. - 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.
Return Value
Type:
BandMatrix
A symmetric
BandMatrix with the same components as
matrix with
bandwidth
bandwidth.
Numerical Libraries
Supported in: 5.x, 4.x
Reference