CoxIter
1.2
CoxIter - Computing invariants of hyperbolic Coxeter groups
|
#include <rational.h>
Public Member Functions | |
Rational () | |
Rational (T a, T b) | |
Rational (T a) | |
Rational (const int &i) | |
bool | operator> (Rational const &) const |
bool | operator>= (int const &) const |
bool | operator== (int const &) const |
bool | operator== (Rational const &) const |
bool | operator!= (Rational const &) const |
Rational & | operator= (long int) |
Rational | operator+ (Rational const &n) const |
Rational & | operator+= (Rational const &n) |
Rational | operator- (Rational const &n) const |
Rational | operator- () const |
void | opp (Rational *&_c) const |
Rational & | operator-= (Rational const &n) |
Rational | operator* (Rational const &n) const |
Rational & | operator*= (Rational const &n) |
Rational | operator/ (Rational const &n) const |
Rational & | operator/= (Rational const &n) |
void | print (ostream &) const |
string | to_string () const |
bool | get_hasDenominatorOne () const |
Public Attributes | |
T | a |
T | b |
Private Member Functions | |
void | update () |
Met à jour les attributs (gcd, isInt, ...) More... | |
Private Attributes | |
bool | isZero |
bool | hasDenominatorOne |
bool | isOne |
bool | isMinusOne |
bool Rational< T >::get_hasDenominatorOne | ( | ) | const |
bool Rational< T >::operator== | ( | int const & | ) | const |
bool Rational< T >::operator>= | ( | int const & | ) | const |
void Rational< T >::print | ( | ostream & | ) | const |
string Rational< T >::to_string | ( | ) | const |
|
private |
Met à jour les attributs (gcd, isInt, ...)
T Rational< T >::a |
T Rational< T >::b |
|
private |
|
private |
|
private |
|
private |