Definition at line 68 of file multiprecision.hpp.
#include <multiprecision.hpp>
|
| std::ostream & | operator<< (std::ostream &os, const Rational &q) |
| |
| double | operator/ (const double d, const Rational &r) |
| |
| bool | operator< (const Rational &r, const double &d) |
| |
| bool | operator< (const Rational &r, const Rational &d) |
| |
| bool | operator> (const Rational &r, const double &d) |
| |
| bool | operator> (const Rational &r, const Rational &d) |
| |
| bool | operator<= (const Rational &r, const double &d) |
| |
| bool | operator<= (const Rational &r, const Rational &d) |
| |
| bool | operator>= (const Rational &r, const double &d) |
| |
| bool | operator>= (const Rational &r, const Rational &d) |
| |
| bool | operator== (const Rational &r, const double &d) |
| |
| bool | operator== (const Rational &r, const Rational &d) |
| |
◆ Rational() [1/7]
| scip::Rational::Rational |
( |
| ) |
|
|
inline |
◆ Rational() [2/7]
| scip::Rational::Rational |
( |
const Rational & |
r | ) |
|
|
inline |
◆ Rational() [3/7]
| scip::Rational::Rational |
( |
const char * |
s | ) |
|
|
inline |
◆ Rational() [4/7]
| scip::Rational::Rational |
( |
const long long |
num, |
|
|
const long long |
den |
|
) |
| |
|
inline |
◆ Rational() [5/7]
◆ Rational() [6/7]
| scip::Rational::Rational |
( |
const std::string & |
s | ) |
|
|
inline |
◆ Rational() [7/7]
| scip::Rational::Rational |
( |
const double |
d | ) |
|
|
inline |
◆ operator=() [1/3]
◆ sign()
| int scip::Rational::sign |
( |
| ) |
const |
|
inline |
Definition at line 81 of file multiprecision.hpp.
Referenced by SCIPrationalAdd(), SCIPrationalAddProd(), SCIPrationalAddProdReal(), SCIPrationalCheckInfByValue(), SCIPrationalComputeApproximation(), SCIPrationalDiff(), SCIPrationalDiffProd(), SCIPrationalDiffProdReal(), SCIPrationalDivReal(), SCIPrationalGetFrac(), SCIPrationalGetReal(), SCIPrationalGetSign(), SCIPrationalIsEQ(), SCIPrationalIsInfinity(), SCIPrationalIsNegative(), SCIPrationalIsNegInfinity(), SCIPrationalIsPositive(), SCIPrationalMessage(), SCIPrationalMult(), SCIPrationalMultReal(), SCIPrationalPrint(), SCIPrationalRoundInteger(), SCIPrationalRoundLong(), SCIPrationalRoundReal(), and SCIPrationalToString().
◆ is_zero()
| bool scip::Rational::is_zero |
( |
| ) |
const |
|
inline |
◆ str()
| std::string scip::Rational::str |
( |
| ) |
const |
|
inline |
◆ operator=() [2/3]
| Rational & scip::Rational::operator= |
( |
const double & |
r | ) |
|
|
inline |
◆ operator=() [3/3]
| Rational & scip::Rational::operator= |
( |
const int & |
i | ) |
|
|
inline |
◆ operator+() [1/2]
◆ operator+() [2/2]
| Rational & scip::Rational::operator+ |
( |
const double & |
r | ) |
|
|
inline |
◆ operator-() [1/3]
◆ operator-() [2/3]
| Rational & scip::Rational::operator- |
( |
const double & |
r | ) |
|
|
inline |
◆ operator-() [3/3]
| Rational & scip::Rational::operator- |
( |
| ) |
|
|
inline |
◆ operator*() [1/2]
◆ operator*() [2/2]
| Rational & scip::Rational::operator* |
( |
const double & |
r | ) |
|
|
inline |
◆ operator*=()
| Rational & scip::Rational::operator*= |
( |
const double & |
r | ) |
|
|
inline |
◆ operator+=() [1/2]
◆ operator+=() [2/2]
| Rational & scip::Rational::operator+= |
( |
const double & |
r | ) |
|
|
inline |
◆ operator-=() [1/2]
◆ operator-=() [2/2]
| Rational & scip::Rational::operator-= |
( |
const double & |
r | ) |
|
|
inline |
◆ operator/() [1/2]
◆ operator/() [2/2]
| Rational & scip::Rational::operator/ |
( |
const double & |
r | ) |
|
|
inline |
◆ operator<<
| std::ostream & operator<< |
( |
std::ostream & |
os, |
|
|
const Rational & |
q |
|
) |
| |
|
friend |
◆ operator/
| double operator/ |
( |
const double |
d, |
|
|
const Rational & |
r |
|
) |
| |
|
friend |
◆ operator< [1/2]
| bool operator< |
( |
const Rational & |
r, |
|
|
const double & |
d |
|
) |
| |
|
friend |
◆ operator< [2/2]
◆ operator> [1/2]
| bool operator> |
( |
const Rational & |
r, |
|
|
const double & |
d |
|
) |
| |
|
friend |
◆ operator> [2/2]
◆ operator<= [1/2]
| bool operator<= |
( |
const Rational & |
r, |
|
|
const double & |
d |
|
) |
| |
|
friend |
◆ operator<= [2/2]
◆ operator>= [1/2]
| bool operator>= |
( |
const Rational & |
r, |
|
|
const double & |
d |
|
) |
| |
|
friend |
◆ operator>= [2/2]
◆ operator== [1/2]
| bool operator== |
( |
const Rational & |
r, |
|
|
const double & |
d |
|
) |
| |
|
friend |
◆ operator== [2/2]
◆ val
| double scip::Rational::val |