CMS 3D CMS Logo

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

#include <SimplifyRatio.h>

Public Types

typedef RatioStruct< typename Sum< A, B >::type, typename Sum< B, A >::typetype
 

Static Public Member Functions

static type combine (const typename Sum< A, B >::type &_1, const typename Sum< B, A >::type &_2)
 

Detailed Description

template<typename A, typename B, bool parametric = (Parametric<A>::value == 1) || (Parametric<B>::value == 1)>
struct funct::SimplifyRatioSum< A, B, parametric >

Definition at line 95 of file SimplifyRatio.h.

Member Typedef Documentation

template<typename A, typename B, bool parametric = (Parametric<A>::value == 1) || (Parametric<B>::value == 1)>
typedef RatioStruct< typename Sum< A , B >::type , typename Sum< B , A >::type > funct::SimplifyRatioSum< A, B, parametric >::type

Definition at line 96 of file SimplifyRatio.h.

Member Function Documentation

template<typename A, typename B, bool parametric = (Parametric<A>::value == 1) || (Parametric<B>::value == 1)>
static type funct::SimplifyRatioSum< A, B, parametric >::combine ( const typename Sum< A, B >::type _1,
const typename Sum< B, A >::type _2 
)
inlinestatic

Definition at line 97 of file SimplifyRatio.h.

100 {