Changeset 1093
 Timestamp:
 Feb 14, 2008, 11:08:10 PM (14 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/yat/statistics/EuclideanDistance.h
r1092 r1093 37 37 38 38 /// 39 /// @brief Calculates the Euclidean distance between two points stored in 1dimensional containers. Implements the concept \ref concept_distance. 39 /// @brief Calculates the Euclidean distance between two points 40 /// stored in 1dimensional containers. Implements the concept \ref 41 /// concept_distance. 40 42 /// 41 43 /// 42 44 struct EuclideanDistance 43 45 { 44 /// 45 /// @brief Calculates the Euclidean distance between two ranges. 46 /// 46 /** 47 \brief Calculates the Euclidean distance between two ranges. 48 49 If both ranges are unweighted the distance is calculated as \f$ 50 \sqrt{\sum (x_iy_i)^2 } \f$ 51 52 Else distance is calculated as \f$ N \frac{\sum 53 w_xw_y(xy)^2}{\sum w_xw_y} \f$ 54 */ 47 55 template <typename Iter1, typename Iter2> 48 56 double operator()
Note: See TracChangeset
for help on using the changeset viewer.