Band Matrix<T>.Extract Symmetric Method
Definition
Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
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.