|
ARTS
2.2.66
|
Contains the rational class definition. More...
Go to the source code of this file.
Classes | |
| class | Rational |
Macros | |
| #define | RATIONAL_UNDEFINED Rational(0, 0) |
Typedefs | |
| typedef Array< Rational > | ArrayOfRational |
Functions | |
| Rational | operator- (const Rational &a) |
| Rational | operator+ (const Rational &a) |
| 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 | operator* (const Rational &a, const Rational &b) |
| Rational | 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) |
| bool | operator>= (const Rational &a, const Rational &b) |
| Numeric | fac (const Rational &r) |
| std::ostream & | operator<< (std::ostream &os, const Rational &a) |
| std::istream & | operator>> (std::istream &os, Rational &a) |
| Rational | abs (const Rational &a) |
| #define RATIONAL_UNDEFINED Rational(0, 0) |
Definition at line 75 of file rational.h.
| typedef Array<Rational> ArrayOfRational |
Definition at line 102 of file rational.h.
Definition at line 107 of file rational.cc.
Definition at line 94 of file rational.h.
References Rational::toIndex().
Definition at line 88 of file rational.h.
References operator==().
Definition at line 84 of file rational.h.
References Rational::Denom(), and Rational::Nom().
Definition at line 83 of file rational.h.
References Rational::Denom(), and Rational::Nom().
Definition at line 79 of file rational.h.
Definition at line 80 of file rational.h.
References Rational::Denom(), and Rational::Nom().
Definition at line 78 of file rational.h.
References Rational::Denom(), and Rational::Nom().
Definition at line 81 of file rational.h.
References Rational::Denom(), and Rational::Nom().
Definition at line 82 of file rational.h.
References Rational::Denom(), and Rational::Nom().
Definition at line 89 of file rational.h.
References Rational::Denom(), and Rational::Nom().
Referenced by operator>(), and operator>=().
| std::ostream& operator<< | ( | std::ostream & | os, |
| const Rational & | a | ||
| ) |
Definition at line 65 of file rational.cc.
References Rational::Denom(), and Rational::Nom().
Definition at line 91 of file rational.h.
References operator>().
Definition at line 87 of file rational.h.
References Rational::Denom(), and Rational::Nom().
Referenced by operator!=().
Definition at line 92 of file rational.h.
References operator<().
| std::istream& operator>> | ( | std::istream & | os, |
| Rational & | a | ||
| ) |
Definition at line 71 of file rational.cc.
References Array< base >::nelem().