Matrix.CreateBanded<T>(Int32, Int32, Int32, Int32, Boolean) Method

Constructs a new general band matrix.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public static BandMatrix<T> CreateBanded<T>(
	int rowCount,
	int columnCount,
	int lowerBandwidth,
	int upperBandwidth,
	bool allocateForLUDecomposition
)

Parameters

rowCount  Int32
The number of rows.
columnCount  Int32
The number of columns.
lowerBandwidth  Int32
The number of diagonals below the main diagonal that may contain nonzero elements.
upperBandwidth  Int32
The number of diagonals above the main diagonal that may contain nonzero elements.
allocateForLUDecomposition  Boolean
A Boolean value that indicates whether extra space should be allocated to store the elements of the LU decomposition of the matrix.

Type Parameters

T

Return Value

BandMatrix<T>
A BandMatrix<T>.

See Also