Matrix.Extract Symmetric Banded Method
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
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. |
ExtractSymmetricBanded<T>(Matrix<T>, Int32, MatrixTriangle)
Constructs a new symmetric band matrix from the components of a matrix.
public static BandMatrix<T> ExtractSymmetricBanded<T>(
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.
Type Parameters
- T
Return Value
BandMatrix<T>A symmetric BandMatrix<T> with the same components as matrix with bandwidth bandwidth.
ExtractSymmetricBanded<T>(Matrix<T>, Int32, MatrixTriangle, Intent)
Constructs a new symmetric band matrix from the components of a matrix.
public static BandMatrix<T> ExtractSymmetricBanded<T>(
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>.
Type Parameters
- T
Return Value
BandMatrix<T>A BandMatrix<T> with the same components as matrix with upper and lower bandwidth equal to bandwidth.