distance Interface

public interface distance

Module Procedures

public function distanceReal(x, y) result(dist)

Arguments

Type IntentOptional Attributes Name
real(kind=real64), intent(in) :: x(:)
real(kind=real64), intent(in) :: y(:)

Return Value real(kind=real64)

public function distanceInt(x, y) result(dist)

Arguments

Type IntentOptional Attributes Name
integer(kind=int32), intent(in) :: x(:)
integer(kind=int32), intent(in) :: y(:)

Return Value integer(kind=int32)