39 template <
class IteratorType1,
class IteratorType2,
class IteratorType3>
48 for (; first1 < last1; ++first1, ++first2, ++firstw)
50 akk += std::pow((*first1 - *first2) * (*firstw), 2);
63 template <
class IteratorType1,
class IteratorType2>
69 for (; first1 < last1; ++first1, ++first2)
71 akk += std::pow(*first1 - *first2, 2);
85 template <
class IteratorType>
102 template <
class IteratorType1,
class IteratorType2>