Public Member Functions | |
fmpq * | get_fmpq_t () |
const fmpq * | get_fmpq_t () const |
fmpq_wrapper (const mpz_t m) | |
fmpq_wrapper (const fmpz_t m) | |
fmpq_wrapper (const mpq_t m) | |
fmpq_wrapper (const fmpq_t m) | |
template<typename T , typename std::enable_if< std::is_integral< T >::value &&std::is_unsigned< T >::value, int >::type = 0> | |
fmpq_wrapper (const T i) | |
template<typename T , typename std::enable_if< std::is_integral< T >::value &&std::is_signed< T >::value, int >::type = 0> | |
fmpq_wrapper (const T i) | |
fmpq_wrapper (const fmpz_wrapper &n, const fmpz_wrapper &d=1) | |
fmpq_wrapper (const fmpq_wrapper &other) | |
fmpq_wrapper (fmpq_wrapper &&other) SYMENGINE_NOEXCEPT | |
fmpq_wrapper & | operator= (const fmpq_wrapper &other) |
fmpq_wrapper & | operator= (fmpq_wrapper &&other) SYMENGINE_NOEXCEPT |
void | canonicalise () |
const fmpz_wrapper & | get_den () const |
const fmpz_wrapper & | get_num () const |
fmpz_wrapper & | get_den () |
fmpz_wrapper & | get_num () |
fmpq_wrapper | operator+= (const fmpq_wrapper &a) |
fmpq_wrapper | operator-= (const fmpq_wrapper &a) |
fmpq_wrapper | operator- () const |
fmpq_wrapper | operator*= (const fmpq_wrapper &a) |
fmpq_wrapper | operator/= (const fmpq_wrapper &a) |
bool | operator== (const fmpq_wrapper &other) const |
bool | operator!= (const fmpq_wrapper &other) const |
bool | operator< (const fmpq_wrapper &other) const |
bool | operator<= (const fmpq_wrapper &other) const |
bool | operator> (const fmpq_wrapper &other) const |
bool | operator>= (const fmpq_wrapper &other) const |
bool | is_zero () const |
bool | is_one () const |
Private Attributes | |
fmpq_t | mp |
Friends | |
fmpq_wrapper | operator+ (const fmpq_wrapper &a, const fmpq_wrapper &b) |
fmpq_wrapper | operator- (const fmpq_wrapper &a, const fmpq_wrapper &b) |
fmpq_wrapper | operator* (const fmpq_wrapper &a, const fmpq_wrapper &b) |
fmpq_wrapper | operator/ (const fmpq_wrapper &a, const fmpq_wrapper &b) |
Definition at line 267 of file flint_wrapper.h.