#include <Fraction.h>
|
| int | operator<= (const real, const Fraction) |
| |
| int | operator< (const real, const Fraction) |
| |
| int | operator>= (const real, const Fraction) |
| |
| int | operator> (const real, const Fraction) |
| |
| int | operator== (const real, const Fraction) |
| |
| real | operator+ (const real, const Fraction) |
| |
| real | operator+ (const Fraction, const real) |
| |
| real | operator- (const real, const Fraction) |
| |
| real | operator- (const Fraction, const real) |
| |
| real | operator* (const real, const Fraction) |
| |
| real | operator* (const Fraction, const real) |
| |
| real | operator/ (const real, const Fraction) |
| |
| real | operator/ (const Fraction, const real) |
| |
| ostream & | operator<< (ostream &, const Fraction &) |
| |
| Fraction::Fraction |
( |
const int |
n, |
|
|
const int |
d = 1 |
|
) |
| |
|
inline |
| virtual Fraction::~Fraction |
( |
| ) |
|
|
inlinevirtual |
| int Fraction::getDenominator |
( |
| ) |
const |
|
inline |
| int Fraction::getNumerator |
( |
| ) |
const |
|
inline |
| int Fraction::operator< |
( |
const Fraction & |
f1 | ) |
const |
| int Fraction::operator< |
( |
const real |
x | ) |
const |
| int Fraction::operator<= |
( |
const Fraction & |
f1 | ) |
const |
| int Fraction::operator<= |
( |
const real |
x | ) |
const |
| int Fraction::operator== |
( |
const Fraction & |
f1 | ) |
const |
| int Fraction::operator== |
( |
const real |
x | ) |
const |
| int Fraction::operator> |
( |
const Fraction & |
f1 | ) |
const |
| int Fraction::operator> |
( |
const real |
x | ) |
const |
| int Fraction::operator>= |
( |
const Fraction & |
f1 | ) |
const |
| int Fraction::operator>= |
( |
const real |
x | ) |
const |
| void Fraction::setDenominator |
( |
const int |
d | ) |
|
|
inline |
| void Fraction::setNumerator |
( |
const int |
n | ) |
|
|
inline |
| ostream& operator<< |
( |
ostream & |
os, |
|
|
const Fraction & |
f |
|
) |
| |
|
friend |
| int Fraction::denominator |
|
protected |
Referenced by Fraction(), get(), getDenominator(), operator*(), operator*(), operator+(), operator+(), operator-(), operator-(), operator/(), operator/(), operator<(), operator<(), operator<<(), operator<=(), operator<=(), operator==(), operator==(), operator>(), operator>(), operator>=(), operator>=(), and setDenominator().
Referenced by Fraction(), get(), getNumerator(), operator*(), operator*(), operator+(), operator+(), operator-(), operator-(), operator/(), operator/(), operator<(), operator<(), operator<<(), operator<=(), operator<=(), operator==(), operator==(), operator>(), operator>(), operator>=(), operator>=(), and setNumerator().
The documentation for this class was generated from the following files: