1 #ifndef PhysicsTools_Utilities_SimplifyTrigonometric_h
2 #define PhysicsTools_Utilities_SimplifyTrigonometric_h
94 TEMPL(T2) struct SimplifySTnProduct<A, B, false> {
102 public SimplifySTnProduct<A, B> { };
106 public SimplifySTnProduct<A,
NUM(n)> { };
119 static const int p = ::boost::mpl::if_c<(n <
m),
120 ::boost::mpl::int_<n>, ::boost::mpl::int_<m> >::
type::value;
#define TAN_RULE(TMPL, T, RES, COMB)
const Numerical< n > & num()
typedef POWER(A, NUM(n)) arg
Sin< T >::type sin(const T &t)
#define SIN_RULE(TMPL, T, RES, COMB)
Cos< T >::type cos(const T &t)
Tan< T >::type tan(const T &t)
static type combine(const SinStruct< A > &_1, const CosStruct< A > &_2)
#define PROD_RULE(TMPL, T1, T2, RES, COMB)
#define COS_RULE(TMPL, T, RES, COMB)
TEMPL(T1) struct Divides0
typedef PROD(F, SUM(RATIO(A, F), RATIO(B, F))) type
#define COMBINE(A, B, RES)
Power< A, B >::type pow(const A &a, const B &b)