Go to the documentation of this file.
75 #define RATIONAL_UNDEFINED Rational(0, 0)
Numeric fac(const Rational &r)
bool operator!=(const Rational &a, const Rational &b)
std::istream & operator>>(std::istream &os, Rational &a)
bool operator==(const Rational &a, const Rational &b)
bool operator<=(const Rational &a, const Rational &b)
Rational & operator-=(const Rational &a)
Rational & operator+=(const Rational &a)
bool operator<(const Rational &a, const Rational &b)
This file contains the definition of Array.
This can be used to make arrays out of anything.
Rational operator-(const Rational &a)
std::ostream & operator<<(std::ostream &os, const Rational &a)
bool operator>=(const Rational &a, const Rational &b)
Rational(const Index &n1)
Numeric toNumeric() const
Rational operator+(const Rational &a)
NUMERIC Numeric
The type to use for all floating point numbers.
Rational & operator/=(const Rational &a)
Rational abs(const Rational &a)
Array< Rational > ArrayOfRational
Rational operator%(const Rational &a, const Rational &b)
Rational operator/(const Rational &a, const Rational &b)
Rational(const Index &n1, const Index &n2)
INDEX Index
The type to use for all integer numbers and indices.
Rational operator*(const Rational &a, const Rational &b)
bool operator>(const Rational &a, const Rational &b)
Rational & operator*=(const Rational &a)