CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Classes | Public Types | Static Public Member Functions
funct::SimplSumOrd< F, G, H > Struct Template Reference

#include <SimplifySum.h>

Classes

struct  prod0
 
struct  prod1
 
struct  prod2
 

Public Types

typedef ::boost::mpl::if_
< prod1, prod1,
typename::boost::mpl::if_
< prod2, prod2, prod0 >::type >
::type 
prod
 
typedef AuxSum< prod >::type type
 

Static Public Member Functions

static type combine (const SumStruct< F, G > &fg, const H &h)
 

Detailed Description

template<typename F, typename G, typename H>
struct funct::SimplSumOrd< F, G, H >

Definition at line 136 of file SimplifySum.h.

Member Typedef Documentation

template<typename F, typename G, typename H>
typedef ::boost::mpl::if_<prod1, prod1, typename ::boost::mpl::if_ <prod2, prod2, prod0 >::type >::type funct::SimplSumOrd< F, G, H >::prod

Definition at line 173 of file SimplifySum.h.

template<typename F, typename G, typename H>
typedef AuxSum< prod >::type funct::SimplSumOrd< F, G, H >::type

Definition at line 174 of file SimplifySum.h.

Member Function Documentation

template<typename F, typename G, typename H>
static type funct::SimplSumOrd< F, G, H >::combine ( const SumStruct< F, G > &  fg,
const H &  h 
)
inlinestatic

Definition at line 175 of file SimplifySum.h.

175  {
176  const F& f = fg._1;
177  const G& g = fg._2;
178  const typename prod::A & a = prod::a(f, g, h);
179  const typename prod::B & b = prod::b(f, g, h);
180  const typename prod::C & c = prod::c(f, g, h);
181  return AuxSum< prod >::combine(a + b, c);
182  }
double_binary B
Definition: DDStreamer.cc:234
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e g
Definition: Activities.doc:4
double f[11][100]
static type combine(const typename Prod::AB &_1, const typename Prod::C &_2)
Definition: SimplifySum.h:126
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
static uInt32 F(BLOWFISH_CTX *ctx, uInt32 x)
Definition: blowfish.cc:281