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) |
Definition in file rational_number.hh.