Processing math: 100%

is_within_band Function

private pure function is_within_band(matrix, row, col)

Checks if a given position (row, col) is within the banded structure, i.e. max(1,colku)rowmin(m,col+kl) with $ku$ the number of superdiagonals and $kl$ the number of subdiagonals.

Arguments

TypeIntentOptionalAttributesName
type(banded_matrix_t), intent(in) :: matrix

the banded matrix structure

integer, intent(in) :: row

row index

integer, intent(in) :: col

column index

Return Value logical


Contents

None