Constructor for a new banded matrix with a given number of rows, columns, subdiagonals and superdiagonals. Allocates and initialises the datatype.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | rows | number of rows |
||
integer, | intent(in) | :: | cols | number of columns |
||
integer, | intent(in) | :: | subdiags | number of subdiagonals |
||
integer, | intent(in) | :: | superdiags | number of superdiagonals |
banded matrix datatype