SymEngine::fmpq_wrapper Class Reference

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_wrapperoperator= (const fmpq_wrapper &other)
 
fmpq_wrapperoperator= (fmpq_wrapper &&other) SYMENGINE_NOEXCEPT
 
void canonicalise ()
 
const fmpz_wrapperget_den () const
 
const fmpz_wrapperget_num () const
 
fmpz_wrapperget_den ()
 
fmpz_wrapperget_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)
 

Detailed Description

Definition at line 264 of file flint_wrapper.h.


The documentation for this class was generated from the following file: