1 #ifndef PhysicsTools_Utilities_SimplifyTrigonometric_h 2 #define PhysicsTools_Utilities_SimplifyTrigonometric_h 13 #include <boost/mpl/if.hpp> 95 TEMPL(T2) struct SimplifySTnProduct<A, B, false> {
103 public SimplifySTnProduct<A, B> { };
107 public SimplifySTnProduct<A,
NUM(n)> { };
120 static const int p = ::boost::mpl::if_c<(n <
m),
121 ::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)
def template(fileName, svg, replaceme="REPLACEME")
#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)