Band Matrix<T>.Extract Symmetric Method
Definition
Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
Extract | Constructs a new symmetric band matrix from the components of a matrix. |
Extract | Constructs a new symmetric band matrix from the components of a matrix. |
ExtractSymmetric(Matrix<T>, Int32, MatrixTriangle)
Constructs a new symmetric band matrix from the components of a matrix.
public static BandMatrix<T> ExtractSymmetric(
Matrix<T> matrix,
int bandwidth,
MatrixTriangle storedTriangle
)
Parameters
- matrix Matrix<T>
- The matrix that supplies the components.
- 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 matrix.
Return Value
BandMatrix<T>A symmetric BandMatrix<T> with the same components as matrix with bandwidth bandwidth.
ExtractSymmetric(Matrix<T>, Int32, MatrixTriangle, Intent)
Constructs a new symmetric band matrix from the components of a matrix.
public static BandMatrix<T> ExtractSymmetric(
Matrix<T> matrix,
int bandwidth,
MatrixTriangle storedTriangle,
Intent intent
)
Parameters
- matrix Matrix<T>
- The matrix that supplies the components.
- 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 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 matrix with upper and lower bandwidth equal to bandwidth.