Constructs a FloatComplexBandMatrix instance by extracting a band of entries from a general matrix.

Namespace:  CenterSpace.NMath.Matrix
Assembly:  NMath (in NMath.dll) Version: 5.1.0.0

Syntax

C#
public FloatComplexBandMatrix(
	FloatComplexMatrix A,
	int lowerBandwidth,
	int upperBandwidth
)
Visual Basic (Declaration)
Public Sub New ( _
	A As FloatComplexMatrix, _
	lowerBandwidth As Integer, _
	upperBandwidth As Integer _
)
Visual C++
public:
FloatComplexBandMatrix(
	FloatComplexMatrix^ A, 
	int lowerBandwidth, 
	int upperBandwidth
)

Parameters

A
Type: CenterSpace.NMath.Core..::.FloatComplexMatrix
A general matrix.
lowerBandwidth
Type: System..::.Int32
The number of subdiagonals to extract. This is also the lower bandwidth of the resulting banded matrix.
upperBandwidth
Type: System..::.Int32
The number of superdiagonals to extract. This is also the upper bandwidth of the resulting banded matrix.

Remarks

The main diagonal is extracted along with lowerBandwidth subdiagonals and upperBandwidth superdiagonals.

Exceptions

ExceptionCondition
CenterSpace.NMath.Core..::.InvalidArgumentExceptionThrown if the number of rows of A is less than the bandwidth of resulting banded matrix.

See Also