The Sparta Modeling Framework
Loading...
Searching...
No Matches
sparta::utils::Rational< T > Member List

This is the complete list of members for sparta::utils::Rational< T >, including all inherited members.

getDenominator() const (defined in sparta::utils::Rational< T >)sparta::utils::Rational< T >inline
getNumerator() const (defined in sparta::utils::Rational< T >)sparta::utils::Rational< T >inline
inv() (defined in sparta::utils::Rational< T >)sparta::utils::Rational< T >inline
operator double() const (defined in sparta::utils::Rational< T >)sparta::utils::Rational< T >inlineexplicit
operator std::string() const (defined in sparta::utils::Rational< T >)sparta::utils::Rational< T >inlineexplicit
operator T() const (defined in sparta::utils::Rational< T >)sparta::utils::Rational< T >inlineexplicit
operator*(const Rational< T > &r) const (defined in sparta::utils::Rational< T >)sparta::utils::Rational< T >inline
operator*=(const Rational< T > &r) (defined in sparta::utils::Rational< T >)sparta::utils::Rational< T >inline
operator+(const Rational< T > &r) const (defined in sparta::utils::Rational< T >)sparta::utils::Rational< T >inline
operator+=(const Rational< T > &r) (defined in sparta::utils::Rational< T >)sparta::utils::Rational< T >inline
operator-(const Rational< T > &r) const (defined in sparta::utils::Rational< T >)sparta::utils::Rational< T >inline
operator-=(const Rational< T > &r) (defined in sparta::utils::Rational< T >)sparta::utils::Rational< T >inline
operator/(const Rational< T > &r) const (defined in sparta::utils::Rational< T >)sparta::utils::Rational< T >inline
operator/=(const Rational< T > &r) (defined in sparta::utils::Rational< T >)sparta::utils::Rational< T >inline
operator=(const Rational< T > &r) (defined in sparta::utils::Rational< T >)sparta::utils::Rational< T >inline
operator==(const Rational< T > &r) (defined in sparta::utils::Rational< T >)sparta::utils::Rational< T >inline
print(std::ostream &os) const (defined in sparta::utils::Rational< T >)sparta::utils::Rational< T >inline
Rational(const T &numerator=0, const T &denominator=1) (defined in sparta::utils::Rational< T >)sparta::utils::Rational< T >inline
Rational(const Rational< T > &r) (defined in sparta::utils::Rational< T >)sparta::utils::Rational< T >inline
simplify() (defined in sparta::utils::Rational< T >)sparta::utils::Rational< T >inline