Go to the documentation of this file. 1 #ifndef PhysicsTools_Utilities_SimplifyPower_h
2 #define PhysicsTools_Utilities_SimplifyPower_h
37 template <TYPN1T1,
bool positive = (n >= 0)>
#define POWER_RULE(TMPL, T1, T2, RES, COMB)
TEMPL(T2) struct Divides B
typedef POWER(A, NUM(n)) arg
const Numerical< n > & num()
Sqrt< T >::type sqrt(const T &t)
PowerStruct< A, Numerical< n > > type
TEMPL(T1) struct Divides0
#define COMBINE(A, B, RES)
Ratio< Numerical< 1 >, typename Power< A, Numerical< -n > >::type >::type type
Power< A, B >::type pow(const A &a, const B &b)