CMS 3D CMS Logo

Public Types | Static Public Member Functions

funct::Sum< Numerical< a >, FractionStruct< b, c > > Struct Template Reference

#include <Fraction.h>

List of all members.

Public Types

typedef Fraction< a *c+b, b >::type type

Static Public Member Functions

static type combine (const Numerical< a > &, const FractionStruct< b, c > &)

Detailed Description

template<int a, int b, int c>
struct funct::Sum< Numerical< a >, FractionStruct< b, c > >

Definition at line 91 of file Fraction.h.


Member Typedef Documentation

template<int a, int b, int c>
typedef Fraction<a * c + b, b>::type funct::Sum< Numerical< a >, FractionStruct< b, c > >::type

Definition at line 92 of file Fraction.h.


Member Function Documentation

template<int a, int b, int c>
static type funct::Sum< Numerical< a >, FractionStruct< b, c > >::combine ( const Numerical< a > &  ,
const FractionStruct< b, c > &   
) [inline, static]

Definition at line 93 of file Fraction.h.

                                                                                 {
      return fract<a * c + b, b>(); 
    }