#include <mpz_rational.h>
|
void | update () |
| Met à jour les attributs (gcd, isInt, ...) More...
|
|
◆ MPZ_rational() [1/5]
MPZ_rational::MPZ_rational |
( |
| ) |
|
◆ MPZ_rational() [2/5]
MPZ_rational::MPZ_rational |
( |
mpz_class |
a, |
|
|
mpz_class |
b |
|
) |
| |
◆ MPZ_rational() [3/5]
MPZ_rational::MPZ_rational |
( |
mpz_class |
a | ) |
|
◆ MPZ_rational() [4/5]
MPZ_rational::MPZ_rational |
( |
const int & |
i | ) |
|
◆ MPZ_rational() [5/5]
MPZ_rational::MPZ_rational |
( |
string |
rational | ) |
|
◆ isCOInteger()
bool MPZ_rational::isCOInteger |
( |
| ) |
const |
◆ isInteger()
bool MPZ_rational::isInteger |
( |
| ) |
const |
◆ operator!=()
bool MPZ_rational::operator!= |
( |
MPZ_rational const & |
n | ) |
const |
◆ operator*()
◆ operator*=()
◆ operator+()
◆ operator+=()
◆ operator-()
◆ operator-=()
◆ operator/()
◆ operator/=()
◆ operator=()
◆ operator==() [1/3]
bool MPZ_rational::operator== |
( |
int const & |
i | ) |
const |
◆ operator==() [2/3]
bool MPZ_rational::operator== |
( |
mpz_class const & |
n | ) |
const |
◆ operator==() [3/3]
bool MPZ_rational::operator== |
( |
MPZ_rational const & |
n | ) |
const |
◆ operator>=()
bool MPZ_rational::operator>= |
( |
int const & |
ni | ) |
const |
◆ opp()
◆ print()
void MPZ_rational::print |
( |
ostream & |
o | ) |
const |
|
virtual |
◆ to_string()
string MPZ_rational::to_string |
( |
| ) |
const |
◆ update()
Met à jour les attributs (gcd, isInt, ...)
mpz_class MPZ_rational::a |
mpz_class MPZ_rational::b |
The documentation for this class was generated from the following files: