Click or drag to resize

FloatSymBandMatrix(FloatMatrix, Int32) Constructor

Constructs a FloatSymBandMatrix instance by extracting the symmetric part of a band of entries from a square matrix.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public FloatSymBandMatrix(
	FloatMatrix A,
	int halfBandwidth
)

Parameters

A  FloatMatrix
A square matrix.
halfBandwidth  Int32
The number of superdiagonals to extract. This is also the half bandwidth of the resulting symmetric banded matrix.
Exceptions
ExceptionCondition
InvalidArgumentExceptionThrown if the number of rows of A is less than the bandwidth of resulting banded matrix.
MatrixNotSquareExceptionThrown if the input matrix, A, is not square.
Remarks
The main diagonal is extracted along with halfBandwidth superdiagonals from the upper triangular part of A.
See Also