Stable Numerics Subroutine Library
Programming Reference Manual
Version 1.1 DD-00006-011

8.3 Hausdorff distance

T hausdorff_distance(const triplex<T>& a, const triplex<T>& b); 
T hausdorff_distance_error(const triplex<T>& a, const triplex<T>& b);

hausdorff_distance(const triplex<T>&, const triplex<T>&)


Computes the hausdorff distance between the two given Triplexes A,B ∈ KR  , as defined as:

                    ----
dH(A,B) = max{|b-a-|,|b-a |}
hausdorff_distance_error(const triplex<T>&, const triplex<T>&)


Computes the hausdorff distance error between the two given Triplexes A,B ∈KR  , as defined as:

dHe = dH(A,B)
       a-a--