#include <cmath>
#include <iterator>
Go to the source code of this file.
|
| template<class IteratorType1, class IteratorType2> |
| float | euclideanDistance (IteratorType1 first1, IteratorType1 last1, IteratorType2 first2) |
| | Returns the euclidean distance.
|
| |
| template<class IteratorType1, class IteratorType2> |
| float | euclideanDistanceSquared (IteratorType1 first1, IteratorType1 last1, IteratorType2 first2) |
| | Returns the squared euclidean distance.
|
| |
| template<class IteratorType> |
| float | euclideanDistanceWeighted (IteratorType first1, IteratorType last1, IteratorType first2, IteratorType firstw) |
| | Returns the euclidean distance with weighted with the given vector.
|
| |
| template<class IteratorType1, class IteratorType2, class IteratorType3> |
| float | euclideanDistanceWeightedSquared (IteratorType1 first1, IteratorType1 last1, IteratorType2 first2, IteratorType3 firstw) |
| | Returns the squared euclidean distance with weighted with the given vector.
|
| |