Get the value of a single column at x
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(LT_t), | intent(in) | :: | my_lt | |||
| integer, | intent(in) | :: | col_ix | |||
| real(kind=dp), | intent(in) | :: | x |
elemental function LT_get_col(my_lt, col_ix, x) result(col_value) type(LT_t), intent(in) :: my_lt integer, intent(in) :: col_ix real(dp), intent(in) :: x real(dp) :: col_value type(LT_loc_t) :: loc loc = LT_get_loc(my_lt, x) col_value = LT_get_col_at_loc(my_lt, col_ix, loc) end function LT_get_col