1 #ifndef theplu_yat_statistics_distance_h 2 #define theplu_yat_statistics_distance_h 25 #include "yat/utility/iterator_traits.h" 27 #include <boost/concept_check.hpp> 31 namespace statistics {
64 template<
class Derived>
89 template <
typename Iterator1,
typename Iterator2>
90 double operator()(Iterator1 beg1, Iterator1 end1, Iterator2 beg2)
const 93 typename weighted_if_any2<Iterator1, Iterator2>::type tag;
94 return static_cast<const Derived*
>(
this)->distance(beg1, end1, beg2, tag);
The Department of Theoretical Physics namespace as we define it.
A convenience class to implement Distance.
Definition: Distance.h:65
double operator()(Iterator1 beg1, Iterator1 end1, Iterator2 beg2) const
Definition: Distance.h:90
Definition: iterator_traits.h:159