![]() |
|
#include "main.h"
Classes | |
struct | check_sqrt_impl< T > |
struct | check_sqrt_impl< std::complex< T > > |
struct | check_rsqrt_impl< T > |
struct | check_rsqrt_impl< std::complex< T > > |
struct | check_signbit_impl< T > |
Macros | |
#define | VERIFY_IS_EQUAL_OR_NANS(a, b) VERIFY(test_is_equal_or_nans(a, b)) |
Functions | |
template<typename T , typename U > | |
bool | check_if_equal_or_nans (const T &actual, const U &expected) |
template<typename T , typename U > | |
bool | check_if_equal_or_nans (const std::complex< T > &actual, const std::complex< U > &expected) |
template<typename T , typename U > | |
bool | test_is_equal_or_nans (const T &actual, const U &expected) |
template<typename T > | |
void | check_negate () |
template<typename T > | |
void | check_abs () |
template<> | |
void | check_abs< bool > () |
template<typename T > | |
void | check_arg () |
template<typename T > | |
void | check_sqrt () |
template<typename T > | |
void | check_rsqrt () |
template<typename T > | |
void | check_signbit () |
template<typename T > | |
void | check_shift () |
EIGEN_DECLARE_TEST (numext) | |
void check_abs | ( | ) |
References abs(), Eigen::numext::abs2(), k, Eigen::test::negate(), VERIFY, VERIFY_IS_APPROX, VERIFY_IS_EQUAL, plotDoE::x, and zero().
Referenced by EIGEN_DECLARE_TEST().
References abs(), Eigen::numext::abs2(), VERIFY, VERIFY_IS_EQUAL, and plotDoE::x.
Referenced by EIGEN_DECLARE_TEST().
void check_arg | ( | ) |
References abs(), k, VERIFY_IS_APPROX, VERIFY_IS_EQUAL, plotDoE::x, and y.
Referenced by EIGEN_DECLARE_TEST().
bool check_if_equal_or_nans | ( | const std::complex< T > & | actual, |
const std::complex< U > & | expected | ||
) |
References check_if_equal_or_nans(), and imag().
bool check_if_equal_or_nans | ( | const T & | actual, |
const U & | expected | ||
) |
References Eigen::numext::equal_strict(), and isnan.
Referenced by check_if_equal_or_nans(), and test_is_equal_or_nans().
void check_negate | ( | ) |
References i, Eigen::test::negate(), size, calibrate::val, and VERIFY_IS_EQUAL.
Referenced by EIGEN_DECLARE_TEST().
void check_rsqrt | ( | ) |
void check_shift | ( | ) |
References a, Eigen::numext::arithmetic_shift_right(), i, Eigen::numext::logical_shift_left(), Eigen::numext::logical_shift_right(), s, and VERIFY_IS_EQUAL.
void check_signbit | ( | ) |
References check_signbit_impl< T >::run().
void check_sqrt | ( | ) |
EIGEN_DECLARE_TEST | ( | numext | ) |
References CALL_SUBTEST, check_abs(), check_abs< bool >(), check_arg(), check_negate(), check_rsqrt(), check_sqrt(), Eigen::g_repeat, and k.
bool test_is_equal_or_nans | ( | const T & | actual, |
const U & | expected | ||
) |
References check_if_equal_or_nans().