CMS 3D CMS Logo

Public Types | Static Public Member Functions

funct::Product< FractionStruct< a, b >, FractionStruct< c, d > > Struct Template Reference

#include <Fraction.h>

List of all members.

Public Types

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

Static Public Member Functions

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

Detailed Description

template<int a, int b, int c, int d>
struct funct::Product< FractionStruct< a, b >, FractionStruct< c, d > >

Definition at line 139 of file Fraction.h.


Member Typedef Documentation

template<int a, int b, int c, int d>
typedef Fraction<a * c, b * d>::type funct::Product< FractionStruct< a, b >, FractionStruct< c, d > >::type

Definition at line 140 of file Fraction.h.


Member Function Documentation

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

Definition at line 141 of file Fraction.h.

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