Matrix.Extract Banded Method
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.6.0
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.6.0
Overload List
| Extract | Returns a band matrix view or copy of another matrix. |
| Extract | Returns a band matrix view or copy of another matrix. |
ExtractBanded<T>(Matrix<T>, Int32, Int32)
Returns a band matrix view or copy 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)
Returns a band matrix view or copy 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 returned 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.