11 #include <unsupported/Eigen/AutoDiff> 23 AD
x(internal::random<Scalar>(-3.0, 3.0), Deriv1::UnitX());
26 Scalar r =
exp(internal::random<Scalar>(-10, 10));
34 res =
atan2(r*s+0, r*c+0);
46 Deriv1
p = Deriv1::Random();
47 AD val(p.x(),Deriv1::UnitX());
64 val = AD(sample_point,Deriv1::UnitX());
75 template <
typename Scalar>
81 typedef std::numeric_limits<AD>
A;
82 typedef std::numeric_limits<Scalar>
B;
Matrix< SCALARB, Dynamic, Dynamic, opt_B > B
#define CALL_SUBTEST_4(FUNC)
Jet< T, N > cos(const Jet< T, N > &f)
A scalar type replacement with automatic differentiation capability.
#define CALL_SUBTEST_3(FUNC)
void check_hyperbolic_functions()
EIGEN_DEVICE_FUNC const TanhReturnType tanh() const
Jet< T, N > sin(const Jet< T, N > &f)
Matrix< SCALARA, Dynamic, Dynamic, opt_A > A
EIGEN_DEVICE_FUNC const SinhReturnType sinh() const
EIGEN_DEVICE_FUNC const ExpReturnType exp() const
cout<< "Here is the matrix m:"<< endl<< m<< endl;Matrix< ptrdiff_t, 3, 1 > res
#define VERIFY_IS_APPROX(a, b)
EIGEN_DECLARE_TEST(autodiff_scalar)
#define CALL_SUBTEST_1(FUNC)
void check_limits_specialization()
AnnoyingScalar atan2(const AnnoyingScalar &y, const AnnoyingScalar &x)
#define CALL_SUBTEST_5(FUNC)
#define CALL_SUBTEST_2(FUNC)
The matrix class, also used for vectors and row-vectors.
EIGEN_DEVICE_FUNC const CoshReturnType cosh() const
set noclip points set clip one set noclip two set bar set border lt lw set xdata set ydata set zdata set x2data set y2data set boxwidth set dummy x