DenseMatrix<T>.ExtractBanded Method

Definition

Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3

Overload List

ExtractBanded(Int32, Int32) Constructs a new band matrix from the components of another matrix.
ExtractBanded(Int32, Int32, Intent) Constructs a new band matrix from the components of another matrix.

ExtractBanded(Int32, Int32)

Constructs a new band matrix from the components of another matrix.
C#
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.
C#
public abstract 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 extracted BandMatrix<T>.

Return Value

BandMatrix<T>
A BandMatrix<T> with the same components as the matrix with lower bandwidth lowerBandwidth and upper bandwidth upperBandwidth.

See Also