Computes the Manhattan (L1) distance between two input vectors x and y of length .
The Manhattan distance is defined as:
Impure wrapper function for f_lin_manhattan_core.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in) | :: | x(:) |
input vector 1 |
||
| real(kind=wp), | intent(in) | :: | y(:) |
input vector 2 |
Manhattan distance