Constructs a new general band matrix.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static BandMatrix<T> CreateBanded<T>(
int rowCount,
int columnCount,
int lowerBandwidth,
int upperBandwidth,
bool allocateForLUDecomposition
)
Public Shared Function CreateBanded(Of T) (
rowCount As Integer,
columnCount As Integer,
lowerBandwidth As Integer,
upperBandwidth As Integer,
allocateForLUDecomposition As Boolean
) As BandMatrix(Of T)
public:
generic<typename T>
static BandMatrix<T>^ CreateBanded(
int rowCount,
int columnCount,
int lowerBandwidth,
int upperBandwidth,
bool allocateForLUDecomposition
)
static member CreateBanded :
rowCount : int *
columnCount : int *
lowerBandwidth : int *
upperBandwidth : int *
allocateForLUDecomposition : bool -> BandMatrix<'T>
Parameters
- rowCount
- Type: SystemInt32
The number of rows. - columnCount
- Type: SystemInt32
The number of columns. - lowerBandwidth
- Type: SystemInt32
The number of diagonals below the main diagonal that may contain nonzero elements. - upperBandwidth
- Type: SystemInt32
The number of diagonals above the main diagonal that may contain nonzero elements. - allocateForLUDecomposition
- Type: SystemBoolean
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
Type:
BandMatrixTA
BandMatrixT.
Reference