test Namespace Reference


Functions

template<typename Distance, typename V, typename S>
void check_distance (const Distance &dist, const V &vec1, const V &vec2, const S &ref_val)
template<typename V, typename S>
void check_l1_norm_and_distance (const V &vec1, const V &vec2, const S &ref_val)
template<typename V, typename S>
void check_l2_norm_and_distance (const V &vec1, const V &vec2, const S &ref_val)
template<typename V, typename S>
void check_linfty_norm_and_distance (const V &vec1, const V &vec2, const S &ref_val)
template<typename Norm, typename V>
void check_norm (const Norm &norm, const V &vec1, const V &vec2)


Function Documentation

template<typename Distance, typename V, typename S>
void test::check_distance ( const Distance &  dist,
const V &  vec1,
const V &  vec2,
const S &  ref_val 
) [inline]

template<typename V, typename S>
void test::check_l1_norm_and_distance ( const V &  vec1,
const V &  vec2,
const S &  ref_val 
) [inline]

Definition at line 36 of file l1.cc.

References check_distance(), check_norm(), mln::norm::l1(), and mln::norm::l1_distance().

template<typename V, typename S>
void test::check_l2_norm_and_distance ( const V &  vec1,
const V &  vec2,
const S &  ref_val 
) [inline]

Definition at line 39 of file l2.cc.

References check_distance(), check_norm(), mln::norm::l2(), and mln::norm::l2_distance().

template<typename V, typename S>
void test::check_linfty_norm_and_distance ( const V &  vec1,
const V &  vec2,
const S &  ref_val 
) [inline]

template<typename Norm, typename V>
void test::check_norm ( const Norm &  norm,
const V &  vec1,
const V &  vec2 
) [inline]


Generated on Sun Apr 25 02:08:00 2010 for Milena (Olena) by  doxygen 1.5.6