Checks if a given position (row, col) is within the banded structure, i.e. max(1,col−ku)≤row≤min(m,col+kl) with $ku$ the number of superdiagonals and $kl$ the number of subdiagonals.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(banded_matrix_t), | intent(in) | :: | matrix | the banded matrix structure |
||
integer, | intent(in) | :: | row | row index |
||
integer, | intent(in) | :: | col | column index |