![]() |
|
Namespaces | |
Eigen | |
Namespace containing all symbols from the Eigen library. | |
Eigen::internal | |
Namespace containing low-level routines from the Eigen library. | |
Macros | |
#define | BINARY_FUNCTOR_TEST_ARGS(fun) |
#define | UNARY_FUNCTOR_TEST_ARGS(fun) #fun, [](const auto& x_) { return (Eigen::fun)(x_); }, [](const auto& y_) { return (std::fun)(y_); } |
Functions | |
template<typename Scalar > | |
Scalar | negative_or_zero (const Scalar &a) |
template<typename Scalar , std::enable_if_t< NumTraits< Scalar >::IsInteger, int > = 0> | |
std::vector< Scalar > | special_values () |
template<typename Scalar > | |
void | special_value_pairs (Array< Scalar, Dynamic, Dynamic > &x, Array< Scalar, Dynamic, Dynamic > &y) |
template<typename Scalar , typename Fn , typename RefFn > | |
void | binary_op_test (std::string name, Fn fun, RefFn ref) |
template<typename Scalar > | |
void | binary_ops_test () |
template<typename Scalar , typename Fn , typename RefFn > | |
void | unary_op_test (std::string name, Fn fun, RefFn ref) |
template<typename Scalar > | |
void | unary_ops_test () |
template<typename Exponent > | |
bool | is_integer (const Exponent &exp) |
template<typename Exponent > | |
bool | is_odd (const Exponent &exp) |
template<typename Base , typename Exponent > | |
void | float_pow_test_impl () |
template<typename Scalar , typename ScalarExponent > | |
Scalar | calc_overflow_threshold (const ScalarExponent exponent) |
template<typename Base , typename Exponent > | |
void | test_exponent (Exponent exponent) |
template<typename Base , typename Exponent > | |
void | int_pow_test_impl () |
void | float_pow_test () |
void | mixed_pow_test () |
void | int_pow_test () |
template<typename Scalar > | |
void | signbit_test () |
void | signbit_tests () |
template<typename ArrayType > | |
void | array_generic (const ArrayType &m) |
template<typename ArrayType > | |
void | comparisons (const ArrayType &m) |
template<typename ArrayType > | |
void | array_real (const ArrayType &m) |
template<typename ArrayType > | |
void | array_complex (const ArrayType &m) |
template<typename ArrayType > | |
void | min_max (const ArrayType &m) |
template<typename ArrayType > | |
void | shift_test (const ArrayType &m) |
template<typename ArrayType > | |
void | typed_logicals_test (const ArrayType &m) |
template<int RowsAtCompileTime, int ColsAtCompileTime> | |
void | cast_test () |
EIGEN_DECLARE_TEST (array_cwise) | |
#define BINARY_FUNCTOR_TEST_ARGS | ( | fun | ) |
#define UNARY_FUNCTOR_TEST_ARGS | ( | fun | ) | #fun, [](const auto& x_) { return (Eigen::fun)(x_); }, [](const auto& y_) { return (std::fun)(y_); } |
void array_complex | ( | const ArrayType & | m | ) |
References abs(), Eigen::numext::abs2(), Eigen::placeholders::all, atan2(), cols, conj(), cos(), Eigen::bfloat16_impl::cosh(), SYCL::cube(), oomph::SarahBL::epsilon, eval(), Eigen::bfloat16_impl::exp(), Eigen::bfloat16_impl::expm1(), i, imag(), inverse(), isfinite, isinf, isnan, j, Eigen::bfloat16_impl::log(), Eigen::bfloat16_impl::log10(), log2(), m, m1, m2(), rows, SYCL::sign(), sin(), Eigen::bfloat16_impl::sinh(), sqrt(), Eigen::square(), Eigen::bfloat16_impl::tan(), Eigen::bfloat16_impl::tanh(), VERIFY, VERIFY_IS_APPROX, and zero().
Referenced by EIGEN_DECLARE_TEST().
void array_generic | ( | const ArrayType & | m | ) |
References abs(), Eigen::numext::cbrt(), cols, Eigen::Dynamic, Eigen::exponents, Global_parameters::f1(), Global_parameters::f2(), int(), Eigen::internal::isMuchSmallerThan(), m, m1, m2(), Eigen::numext::mini(), Eigen::bfloat16_impl::pow(), Eigen::ArrayBase< Derived >::pow(), rows, VERIFY, VERIFY_IS_APPROX, VERIFY_IS_MUCH_SMALLER_THAN, and VERIFY_IS_NOT_APPROX.
Referenced by EIGEN_DECLARE_TEST().
void array_real | ( | const ArrayType & | m | ) |
References abs(), Eigen::numext::abs2(), acos(), Eigen::bfloat16_impl::acosh(), Eigen::placeholders::all, Eigen::bfloat16_impl::asin(), Eigen::bfloat16_impl::asinh(), Eigen::bfloat16_impl::atan(), atan2(), Eigen::bfloat16_impl::atanh(), Eigen::numext::cbrt(), Eigen::bfloat16_impl::ceil(), cols, cos(), Eigen::bfloat16_impl::cosh(), SYCL::cube(), oomph::SarahBL::epsilon, eval(), Eigen::bfloat16_impl::exp(), Eigen::bfloat16_impl::expm1(), Eigen::bfloat16_impl::floor(), i, imag(), Eigen::imag(), inverse(), isfinite, isinf, isnan, Eigen::bfloat16_impl::log(), Eigen::bfloat16_impl::log10(), Eigen::bfloat16_impl::log1p(), log2(), m, m1, m2(), min, Eigen::ArrayBase< Derived >::pow(), Eigen::real(), Eigen::bfloat16_impl::rint(), Eigen::bfloat16_impl::round(), rows, Eigen::numext::rsqrt(), SYCL::sign(), sin(), Eigen::bfloat16_impl::sinh(), sqrt(), Eigen::square(), Eigen::bfloat16_impl::tan(), Eigen::bfloat16_impl::tanh(), tmp, Eigen::bfloat16_impl::trunc(), VERIFY, VERIFY_IS_APPROX, and VERIFY_IS_CWISE_APPROX.
Referenced by EIGEN_DECLARE_TEST().
void binary_op_test | ( | std::string | name, |
Fn | fun, | ||
RefFn | ref | ||
) |
References a, Eigen::PlainObjectBase< Derived >::cols(), e(), i, Eigen::internal::isApprox(), isfinite, isnan, j, min, plotDoE::name, Eigen::PlainObjectBase< Derived >::rows(), Eigen::numext::signbit(), special_value_pairs(), and VERIFY.
void binary_ops_test | ( | ) |
References abs(), atan2(), Eigen::atan2(), BINARY_FUNCTOR_TEST_ARGS, EIGEN_PREDICT_FALSE, Eigen::ArrayBase< Derived >::pow(), plotPSD::t, plotDoE::x, and y.
Scalar calc_overflow_threshold | ( | const ScalarExponent | exponent | ) |
References EIGEN_STATIC_ASSERT, EIGEN_USING_STD, Eigen::bfloat16_impl::exp2(), Eigen::bfloat16_impl::floor(), log2(), and Eigen::numext::mini().
void cast_test | ( | ) |
References run().
void comparisons | ( | const ArrayType & | m | ) |
References a, abs(), Eigen::placeholders::all, calibrate::c, cols, i, j, m, m1, m2(), UniformPSDSelfTest::r, rows, anonymous_namespace{skew_symmetric_matrix3.cpp}::transpose(), VERIFY, VERIFY_IS_APPROX, VERIFY_IS_CWISE_EQUAL, and oomph::PseudoSolidHelper::Zero.
Referenced by EIGEN_DECLARE_TEST().
EIGEN_DECLARE_TEST | ( | array_cwise | ) |
References array_complex(), array_generic(), array_real(), CALL_SUBTEST_1, CALL_SUBTEST_10, CALL_SUBTEST_11, CALL_SUBTEST_12, CALL_SUBTEST_13, CALL_SUBTEST_14, CALL_SUBTEST_15, CALL_SUBTEST_16, CALL_SUBTEST_17, CALL_SUBTEST_18, CALL_SUBTEST_19, CALL_SUBTEST_2, CALL_SUBTEST_20, CALL_SUBTEST_21, CALL_SUBTEST_22, CALL_SUBTEST_23, CALL_SUBTEST_24, CALL_SUBTEST_25, CALL_SUBTEST_26, CALL_SUBTEST_27, CALL_SUBTEST_28, CALL_SUBTEST_29, CALL_SUBTEST_3, CALL_SUBTEST_30, CALL_SUBTEST_31, CALL_SUBTEST_32, CALL_SUBTEST_33, CALL_SUBTEST_4, CALL_SUBTEST_6, CALL_SUBTEST_7, CALL_SUBTEST_8, CALL_SUBTEST_9, comparisons(), EIGEN_TEST_MAX_SIZE, float_pow_test(), Eigen::g_repeat, i, int_pow_test(), min_max(), mixed_pow_test(), shift_test(), signbit_tests(), typed_logicals_test(), Eigen::value, and VERIFY.
void float_pow_test | ( | ) |
Referenced by EIGEN_DECLARE_TEST().
void float_pow_test_impl | ( | ) |
References a, e(), i, is_integer(), is_odd(), Eigen::internal::isApprox(), isnan, j, negative_or_zero(), ref_pow< Base, Exponent, ExpIsInteger >::run(), Eigen::numext::signbit(), size, type_name(), and VERIFY.
void int_pow_test | ( | ) |
Referenced by EIGEN_DECLARE_TEST().
void int_pow_test_impl | ( | ) |
References negative_or_zero().
bool is_integer | ( | const Exponent & | exp | ) |
References Eigen::bfloat16_impl::exp(), and pow_helper< Exponent, ExpIsInteger >::is_integer_impl().
Referenced by float_pow_test_impl().
bool is_odd | ( | const Exponent & | exp | ) |
References Eigen::bfloat16_impl::exp(), and pow_helper< Exponent, ExpIsInteger >::is_odd_impl().
Referenced by float_pow_test_impl(), and Eigen::internal::unary_pow::int_pow().
void min_max | ( | const ArrayType & | m | ) |
References cols, isnan, m, m1, rows, VERIFY, and VERIFY_IS_APPROX.
Referenced by EIGEN_DECLARE_TEST().
void mixed_pow_test | ( | ) |
Referenced by EIGEN_DECLARE_TEST().
References a, and negative_or_zero_impl< Scalar, IsSigned >::run().
Referenced by float_pow_test_impl(), int_pow_test_impl(), signbit_test(), and test_exponent().
void shift_test | ( | const ArrayType & | m | ) |
References m, and shift_test_impl< ArrayType >::run().
Referenced by EIGEN_DECLARE_TEST().
void signbit_test | ( | ) |
References i, negative_or_zero(), Eigen::internal::predux_any(), Eigen::numext::signbit(), size, VERIFY, plotDoE::x, and y.
void signbit_tests | ( | ) |
Referenced by EIGEN_DECLARE_TEST().
void special_value_pairs | ( | Array< Scalar, Dynamic, Dynamic > & | x, |
Array< Scalar, Dynamic, Dynamic > & | y | ||
) |
std::vector< Scalar > special_values | ( | ) |
void test_exponent | ( | Exponent | exponent | ) |
References a, abs(), e(), EIGEN_STATIC_ASSERT, Eigen::numext::mini(), negative_or_zero(), ref_pow< Base, Exponent, ExpIsInteger >::run(), size, VERIFY, plotDoE::x, and y.
void typed_logicals_test | ( | const ArrayType & | m | ) |
void unary_op_test | ( | std::string | name, |
Fn | fun, | ||
RefFn | ref | ||
) |
References a, e(), i, Eigen::internal::isApprox(), isfinite, isnan, min, plotDoE::name, Eigen::numext::signbit(), and VERIFY.
void unary_ops_test | ( | ) |
References acos(), Eigen::bfloat16_impl::acosh(), Eigen::bfloat16_impl::asin(), Eigen::bfloat16_impl::asinh(), Eigen::bfloat16_impl::atan(), Eigen::bfloat16_impl::atanh(), Eigen::numext::cbrt(), Eigen::bfloat16_impl::ceil(), cos(), Eigen::bfloat16_impl::cosh(), Eigen::bfloat16_impl::exp(), Eigen::bfloat16_impl::exp2(), Eigen::bfloat16_impl::floor(), Eigen::bfloat16_impl::log(), Eigen::bfloat16_impl::rint(), Eigen::bfloat16_impl::round(), sin(), Eigen::bfloat16_impl::sinh(), sqrt(), Eigen::bfloat16_impl::tan(), Eigen::bfloat16_impl::tanh(), Eigen::bfloat16_impl::trunc(), and UNARY_FUNCTOR_TEST_ARGS.