1 #ifndef PhysicsTools_Utilities_SimplifyTrigonometric_h 2 #define PhysicsTools_Utilities_SimplifyTrigonometric_h 13 #include <boost/mpl/if.hpp> 91 TEMPL(T2) struct SimplifySTnProduct<A, B, false> {
110 static const int p = ::boost::mpl::if_c<(n < m), ::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
#define COS_RULE(TMPL, T, RES, COMB)
#define SIN_RULE(TMPL, T, RES, COMB)
Sin< T >::type sin(const T &t)
#define COMBINE(A, B, RES)
Cos< T >::type cos(const T &t)
Tan< T >::type tan(const T &t)
def template(fileName, svg, replaceme="REPLACEME")
TEMPL(T1) struct Divides0
typedef PROD(F, SUM(RATIO(A, F), RATIO(B, F))) type
#define PROD_RULE(TMPL, T1, T2, RES, COMB)
Power< A, B >::type pow(const A &a, const B &b)