Constructs a new BandMatrix from the components of another matrix.

Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (Extreme.Numerics)

Syntax

Visual Basic (Declaration)
Public Shared Function Extract ( _
	matrix As Matrix, _
	lowerBandwidth As Integer, _
	upperBandwidth As Integer _
) As BandMatrix
C#
public static BandMatrix Extract (
	Matrix matrix,
	int lowerBandwidth,
	int upperBandwidth
)
C++
public:
static BandMatrix^ Extract (
	Matrix^ matrix, 
	int lowerBandwidth, 
	int upperBandwidth
)

Parameters

matrix (Extreme.Mathematics.LinearAlgebra.Matrix)
The Matrix that supplies the components.
lowerBandwidth (System.Int32)
The lower bandwidth of the BandMatrix.
upperBandwidth (System.Int32)
The upper bandwidth of the BandMatrix.

Return Value

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