rational_number.hh File Reference

RationalNumber class declaration. More...

Include dependency graph for rational_number.hh:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  vcsn
namespace  vcsn::algebra
namespace  std
namespace  vcsn::misc

Classes

class  RationalNumber
 Rational numbers class. More...
struct  numeric_limits< ::vcsn::algebra::RationalNumber >
struct  limits< ::vcsn::algebra::RationalNumber >

Defines

#define RATIONAL_NUMBER_OPERATOR(type, op)
#define RATIONAL_NUMBER_IN_PLACE_OPERATOR(op)

Functions

template<class T>
bool operator< (const RationalNumber &nb, const T nb2)
template<class T>
bool operator< (const T nb2, const RationalNumber &nb)
template<class T>
bool operator<= (const RationalNumber &nb, const T nb2)
template<class T>
bool operator<= (const T nb2, const RationalNumber &nb)
template<class T>
bool operator> (const RationalNumber &nb, const T nb2)
template<class T>
bool operator> (const T nb2, const RationalNumber &nb)
template<class T>
bool operator>= (const RationalNumber &nb, const T nb2)
template<class T>
bool operator>= (const T nb2, const RationalNumber &nb)
template<class T>
bool operator== (const RationalNumber &nb, const T nb2)
template<class T>
bool operator== (const T nb2, const RationalNumber &nb)
template<class T>
bool operator!= (const RationalNumber &nb, const T nb2)
template<class T>
bool operator!= (const T nb2, const RationalNumber &nb)
template<class T>
RationalNumber operator+ (const RationalNumber &nb, const T nb2)
template<class T>
RationalNumber operator+ (const T nb2, const RationalNumber &nb)
template<class T>
RationalNumber operator- (const RationalNumber &nb, const T nb2)
template<class T>
RationalNumber operator- (const T nb2, const RationalNumber &nb)
template<class T>
RationalNumber operator * (const RationalNumber &nb, const T nb2)
template<class T>
RationalNumber operator * (const T nb2, const RationalNumber &nb)
template<class T>
RationalNumber operator/ (const RationalNumber &nb, const T nb2)
template<class T>
RationalNumber operator/ (const T nb2, const RationalNumber &nb)
template<class T>
RationalNumber & operator+= (RationalNumber &nb, const T nb2)
template<class T>
RationalNumber & operator-= (RationalNumber &nb, const T nb2)
template<class T>
RationalNumber & operator *= (RationalNumber &nb, const T nb2)
template<class T>
RationalNumber & operator/= (RationalNumber &nb, const T nb2)
std::ostream & operator<< (std::ostream &ostr, const RationalNumber &nb)
int gcd (int a, unsigned int b)
int lcm (int a, unsigned int b)


Detailed Description

RationalNumber class declaration.

Author:
Sarah O'Connor <sarah@lrde.epita.fr>
See also:
RationalNumber

Definition in file rational_number.hh.


Generated on Sun Jul 29 19:43:36 2007 for Vaucanson by  doxygen 1.5.2