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)
typedef SUM(SUM(PROD(NUM(n-p), SIN2(A)), PROD(NUM(m-p), COS2(A))), NUM(p)) type
SUM_S(B, A)>
MINUS_RULE(TYPT1, MINUS_S(A), A, _._)
#define TYPT1
Definition: Simplify_begin.h:6