CMS 3D CMS Logo

Public Types | Static Public Member Functions

funct::Sum< FractionStruct< b, c >, Numerical< a > > 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 FractionStruct< b, c > &, const Numerical< a > &)

Detailed Description

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

Definition at line 107 of file Fraction.h.


Member Typedef Documentation

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

Definition at line 108 of file Fraction.h.


Member Function Documentation

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

Definition at line 109 of file Fraction.h.

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