Metrics.h File Reference
#include <cmath>
#include <iterator>
+ Include dependency graph for Metrics.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  armarx
 This file offers overloads of toIce() and fromIce() functions for STL container types.
 

Functions

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.