![]() |
#include <kernel/mod2.h>
#include <stdlib.h>
#include <math.h>
#include <ctype.h>
#include <string.h>
#include <kernel/spectrum/GMPrat.h>
Go to the source code of this file.
Macros | |
#define | GMPRAT_CC |
Functions | |
Rational | operator- (const Rational &r) |
bool | operator< (const Rational &a, const Rational &b) |
bool | operator<= (const Rational &a, const Rational &b) |
bool | operator> (const Rational &a, const Rational &b) |
bool | operator>= (const Rational &a, const Rational &b) |
bool | operator== (const Rational &a, const Rational &b) |
bool | operator!= (const Rational &a, const Rational &b) |
Rational | operator+ (const Rational &a, const Rational &b) |
Rational | operator- (const Rational &a, const Rational &b) |
Rational | operator* (const Rational &a, const Rational &b) |
Rational | pow (const Rational &a, int e) |
Rational | operator/ (const Rational &a, const Rational &b) |
int | sgn (const Rational &a) |
Rational | abs (const Rational &a) |
Rational | gcd (const Rational &a, const Rational &b) |
Rational | gcd (Rational *a, int n) |
Rational | lcm (const Rational &a, const Rational &b) |
Rational | lcm (Rational *a, int n) |
Definition at line 443 of file GMPrat.cc.
Definition at line 455 of file GMPrat.cc.
Definition at line 485 of file GMPrat.cc.
Definition at line 516 of file GMPrat.cc.
Definition at line 410 of file GMPrat.cc.
Definition at line 392 of file GMPrat.cc.
Definition at line 194 of file GMPrat.cc.
Definition at line 401 of file GMPrat.cc.
Definition at line 429 of file GMPrat.cc.
Definition at line 418 of file GMPrat.cc.