Converts a given array to a banded datastructure.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(*), | intent(in) | :: | array(:,:) |
the original array |
||
integer, | intent(in) | :: | subdiags |
the number of subdiagonals |
||
integer, | intent(in) | :: | superdiags |
the number of superdiagonals |
||
type(banded_matrix_t), | intent(out) | :: | banded |
the resulting banded datastructure |