28 namespace constant_codi
30 static const double e = 2.71828182845904523536028747135266249775724709369996;
31 static const double pi = 3.14159265358979323846264338327950288419716939937510;
32 static const double pi_2 = 1.57079632679489661923132169163975144209858469968755;
33 static const double pi_4 = 0.78539816339744830961566084581987572104929234984378;
34 static const double pi_180 = 0.01745329251994329576923690768488612713442871888542;
35 static const double _1_pi = 0.31830988618379067153776752674502872406891929148091;
36 static const double _2_pi = 0.63661977236758134307553505349005744813783858296183;
37 static const double _180_pi = 57.29577951308232087679815481410517033240547246656443;
38 static const double log2 = 0.69314718055994530941723212145817656807550013436026;
39 static const double sqrt2 = 1.41421356237309504880168872420969807856967187537695;
44 #define CODI_TYPE codi_real_forward_t
48 #define CODI_TYPE codi_real_reverse_t
52 #define CODI_TYPE codi_real_reverse_index_t
56 #define CODI_TYPE codi_real_reverse_primal_t
60 #define CODI_TYPE codi_real_reverse_primal_index_t
Provides an exprtk adaptor for CoDiPack arithmetic types of autodiff.
Header for CoDiPack package.
Provides an exprtk adaptor forCoDiPack arithmetic types of autodiff.