Dense Matrix<T>.Extract Banded Method
Definition
Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.5.0
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.5.0
Overload List
| Extract | Returns a band matrix view or copy of this matrix. |
| Extract |
Constructs a new band matrix from the components of another matrix.
|
ExtractBanded(Int32, Int32)
Returns a band matrix view or copy of this matrix.
public BandMatrix<T> ExtractBanded(
int lowerBandwidth,
int upperBandwidth
)Parameters
- lowerBandwidth Int32
- The lower bandwidth of the BandMatrix<T>.
- upperBandwidth Int32
- The upper bandwidth of the BandMatrix<T>.
Return Value
BandMatrix<T>A BandMatrix<T> with the same components as the matrix with lower bandwidth lowerBandwidth and upper bandwidth upperBandwidth.
ExtractBanded(Int32, Int32, Intent)
Constructs a new band matrix from the components of another matrix.
[ObsoleteAttribute("Use GetBandedView instead.")]
public BandMatrix<T> ExtractBanded(
int lowerBandwidth,
int upperBandwidth,
Intent intent
)Parameters
- 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>.
Return Value
BandMatrix<T>A BandMatrix<T> with the same components as the matrix with lower bandwidth lowerBandwidth and upper bandwidth upperBandwidth.