Band Matrix<T> Constructor
Constructs a new matrix of the specified dimensions.
Definition
Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.0.0
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.0.0
protected BandMatrix(
int rowCount,
int columnCount,
int lowerBandwidth,
int upperBandwidth,
ArrayAttributes attributes
)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.
- attributes ArrayAttributes
- The attributes of the new matrix.
Exceptions
| Argument | rowCount is less than zero. -or- columnCount is less than zero. |