Changeset 956 for trunk/yat/statistics
- Timestamp:
- Oct 9, 2007, 3:03:22 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/yat/statistics/vector_distance.h
r937 r956 58 58 } 59 59 60 /// A partial specialization for DataLookupWeighted1D61 template<typename Dist>62 double vector_distance(const classifier::DataLookupWeighted1D::const_iterator& beg1,const classifier::DataLookupWeighted1D::const_iterator& end1,const classifier::DataLookupWeighted1D::const_iterator& beg2)63 {64 return vector_distance(beg1,end1,beg2, typename statistics::vector_distance_traits<Dist>::distance());65 }66 67 /// A partial specialization for DataLookup1D68 template<typename Dist>69 double vector_distance(const classifier::DataLookup1D::const_iterator& beg1,const classifier::DataLookup1D::const_iterator& end1,const classifier::DataLookup1D::const_iterator& beg2)70 {71 return vector_distance(beg1,end1,beg2, typename statistics::vector_distance_traits<Dist>::distance());72 }73 74 60 }}} // of namespace statistics, yat, and theplu 75 61
Note: See TracChangeset
for help on using the changeset viewer.