Matrix.Extract Banded Method
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
Overload List
Extract | Constructs a new band matrix from the components of another matrix. |
Extract | Constructs a new band matrix from the components of another matrix. |
ExtractBanded<T>(Matrix<T>, Int32, Int32)
Constructs a new band matrix from the components of another matrix.
public static BandMatrix<T> ExtractBanded<T>(
Matrix<T> matrix,
int lowerBandwidth,
int upperBandwidth
)
Parameters
- matrix Matrix<T>
- The matrix that supplies the components.
- lowerBandwidth Int32
- The lower bandwidth of the BandMatrix<T>.
- upperBandwidth Int32
- The upper bandwidth of the BandMatrix<T>.
Type Parameters
- T
Return Value
BandMatrix<T>A BandMatrix<T> with the same components as matrix with lower bandwidth lowerBandwidth and upper bandwidth upperBandwidth.
ExtractBanded<T>(Matrix<T>, Int32, Int32, Intent)
Constructs a new band matrix from the components of another matrix.
public static BandMatrix<T> ExtractBanded<T>(
Matrix<T> matrix,
int lowerBandwidth,
int upperBandwidth,
Intent intent
)
Parameters
- matrix Matrix<T>
- The matrix that supplies the components.
- lowerBandwidth Int32
- The lower bandwidth of the BandMatrix<T>.
- upperBandwidth Int32
- The upper bandwidth of the BandMatrix<T>.
- 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 lower bandwidth lowerBandwidth and upper bandwidth upperBandwidth.