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) |
void test::check_distance | ( | const Distance & | dist, | |
const V & | vec1, | |||
const V & | vec2, | |||
const S & | ref_val | |||
) |
References mln::math::abs().
Referenced by check_l1_norm_and_distance(), check_l2_norm_and_distance(), and check_linfty_norm_and_distance().
void test::check_l1_norm_and_distance | ( | const V & | vec1, | |
const V & | vec2, | |||
const S & | ref_val | |||
) |
References check_distance(), and check_norm().
void test::check_l2_norm_and_distance | ( | const V & | vec1, | |
const V & | vec2, | |||
const S & | ref_val | |||
) |
References check_distance(), and check_norm().
void test::check_linfty_norm_and_distance | ( | const V & | vec1, | |
const V & | vec2, | |||
const S & | ref_val | |||
) |
References check_distance(), and check_norm().
void test::check_norm | ( | const Norm & | norm, | |
const V & | vec1, | |||
const V & | vec2 | |||
) |
References mln::math::abs().
Referenced by check_l1_norm_and_distance(), check_l2_norm_and_distance(), and check_linfty_norm_and_distance().