get_element Function

private pure function get_element(this, row, col) result(element)

Retrieves the element at position (row, col) of the original matrix. See the LAPACK documentation, element $a_{ij}$ of the original matrix is stored at position $(ku + 1 + i - j, j)$ (with $ku$ the number of superdiagonals).

Arguments

TypeIntentOptionalAttributesName
class(banded_matrix_t), intent(in) :: this

type instance

integer, intent(in) :: row

the row index of the original position

integer, intent(in) :: col

the column index of the original position

Return Value complex(kind=dp)

the element at original position (row, col)


Contents

None