Matrix.CreateBanded Method

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

CreateBanded<T>(Int32, Int32, Int32, Int32) Constructs a new general band matrix.
CreateBanded<T>(Int32, Int32, Int32, Int32, Boolean) Constructs a new general band matrix.

CreateBanded<T>(Int32, Int32, Int32, Int32)

Constructs a new general band matrix.
C#
public static BandMatrix<T> CreateBanded<T>(
	int rowCount,
	int columnCount,
	int lowerBandwidth,
	int upperBandwidth
)

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.

Type Parameters

T

Return Value

BandMatrix<T>
A BandMatrix<T>.

CreateBanded<T>(Int32, Int32, Int32, Int32, Boolean)

Constructs a new general band matrix.
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