manhatten_distance Interface

public interface manhatten_distance

Calls

interface~~manhatten_distance~~CallsGraph interface~manhatten_distance aoc_utilities::manhatten_distance proc~manhatten_distance_64 aoc_utilities::manhatten_distance_64 interface~manhatten_distance->proc~manhatten_distance_64

Called by

interface~~manhatten_distance~~CalledByGraph interface~manhatten_distance aoc_utilities::manhatten_distance proc~go~6 problem_11::go proc~go~6->interface~manhatten_distance program~problem_11 problem_11 program~problem_11->proc~go~6

Module Procedures

private pure function manhatten_distance_64(x1, y1, x2, y2)

Manhattan distance between two ip points.

Arguments

Type IntentOptional Attributes Name
integer(kind=ip), intent(in) :: x1
integer(kind=ip), intent(in) :: y1
integer(kind=ip), intent(in) :: x2
integer(kind=ip), intent(in) :: y2

Return Value integer(kind=ip)