CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SimplifyMinus.h
Go to the documentation of this file.
1 #ifndef PhysicsTools_Utilities_SimplifyMinus_h
2 #define PhysicsTools_Utilities_SimplifyMinus_h
3 
6 namespace funct {
7 
8  // - - a = a
9  MINUS_RULE(TYPT1, MINUS_S(A), A, _._ );
10 
11  // -( a + b ) = ( - a ) + ( -b )
13  (- _._1) + (- _._2));
14 
15 }
16 
18 
19 #endif
#define TYPT2
Definition: Simplify_begin.h:7
MINUS_S(B)>
Definition: Factorize.h:99
#define MINUS(A)
#define SUM_S(A, B)
#define MINUS_RULE(TMPL, T, RES, COMB)
#define SUM(A, B)
#define TYPT1
Definition: Simplify_begin.h:6