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
)
Public Shared Function CreateBanded(Of T) (
rowCount As Integer,
columnCount As Integer,
lowerBandwidth As Integer,
upperBandwidth As Integer
) As BandMatrix(Of T)
public:
generic<typename T>
static BandMatrix<T>^ CreateBanded(
int rowCount,
int columnCount,
int lowerBandwidth,
int upperBandwidth
)
static member CreateBanded :
rowCount : int *
columnCount : int *
lowerBandwidth : int *
upperBandwidth : int -> 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.
Type Parameters
- T
Return Value
Type:
BandMatrixTA
BandMatrixT.
Reference