Effective implementation of algorithms (Master Thesis)
Effective and error-free implementation of algorithms
|
Classes | |
class | Rational |
Functions | |
template<typename T > | |
Rational< T > | operator- (const Rational< T > &a) |
template<typename T > | |
bool | operator== (const Rational< T > &a, const Rational< T > &b) |
template<typename T > | |
bool | operator< (const Rational< T > &a, const Rational< T > &b) |
template<typename T > | |
bool | operator> (const Rational< T > &a, const Rational< T > &b) |
template<typename T > | |
bool | operator<= (const Rational< T > &a, const Rational< T > &b) |
template<typename T > | |
bool | operator>= (const Rational< T > &a, const Rational< T > &b) |
template<typename T > | |
std::ostream & | operator<< (std::ostream &out, const Rational< T > &a) |
Rational<T> math::rational::operator- | ( | const Rational< T > & | a | ) |
Unary minus
bool math::rational::operator< | ( | const Rational< T > & | a, |
const Rational< T > & | b | ||
) |
Test inequality of fractions
std::ostream& math::rational::operator<< | ( | std::ostream & | out, |
const Rational< T > & | a | ||
) |
Write fraction to stream in form "a/b" where a/b is normalized fraction
out | stream to be used |
a | number to be written |
bool math::rational::operator<= | ( | const Rational< T > & | a, |
const Rational< T > & | b | ||
) |
Test inequality of fractions
bool math::rational::operator== | ( | const Rational< T > & | a, |
const Rational< T > & | b | ||
) |
Test equality of fractions
bool math::rational::operator> | ( | const Rational< T > & | a, |
const Rational< T > & | b | ||
) |
Test inequality of fractions
bool math::rational::operator>= | ( | const Rational< T > & | a, |
const Rational< T > & | b | ||
) |
Test inequality of fractions