CMS 3D CMS Logo

List of all members | Public Types | Static Public Member Functions
funct::Difference< A, B > Struct Template Reference

#include <Difference.h>

Public Types

typedef Sum< A, typename Minus< B >::type >::type type
 

Static Public Member Functions

static type combine (const A &a, const B &b)
 

Detailed Description

template<typename A, typename B>
struct funct::Difference< A, B >

Definition at line 9 of file Difference.h.

Member Typedef Documentation

template<typename A , typename B >
typedef Sum<A, typename Minus<B>::type>::type funct::Difference< A, B >::type

Definition at line 10 of file Difference.h.

Member Function Documentation

template<typename A , typename B >
static type funct::Difference< A, B >::combine ( const A a,
const B b 
)
inlinestatic

Definition at line 11 of file Difference.h.

References b.

Referenced by funct::operator-().

11 { return a + (-b); }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121