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