1 #ifndef _Clusterizer1DCommons_H_
2 #define _Clusterizer1DCommons_H_
6 namespace Clusterizer1DCommons
9 inline double square (
const double a )
26 (
const std::vector < const T * > &
source,
27 std::vector < const T * > &
dest )
29 for (
typename std::vector< const T * >::const_iterator
i=source.begin();
30 i!=source.end() ; ++
i )
32 dest.push_back ( *
i );
void add(const std::vector< const T * > &source, std::vector< const T * > &dest)
bool operator()(const Cluster1D< T > &c1, const Cluster1D< T > &c2)
Measurement1D position() const
double square(const double a)