74 #ifdef INCL_CANONICALFORM_H
75 #define INCL_CF_INLINE_CC
88 #ifndef INCL_CF_INLINE_CC
90 #define CF_USE_INLINE_SAVE
94 #ifdef CF_USE_INLINE_SAVE
96 #undef CF_USE_INLINE_SAVE
107 #if defined( CF_USE_INLINE ) && defined( INCL_CF_INLINE_CC )
109 #define CF_INLINE inline
167 : value(
is_imm( cf.value ) ? cf.value : cf.value->copyObject() )
241 #ifndef INCL_CF_INLINE_CC
260 #ifndef INCL_CF_INLINE_CC
313 #ifndef INCL_CF_INLINE_CC
362 else if ( what ==
FFMARK )
380 else if ( what ==
FFMARK )
388 #ifndef INCL_CF_INLINE_CC
447 else if ( what ==
FFMARK )
503 #ifndef INCL_CF_INLINE_CC
524 #ifndef INCL_CF_INLINE_CC
548 #ifndef INCL_CF_INLINE_CC
int imm_iszero_p(const InternalCF *const ptr)
InternalCF * imm_neg_p(const InternalCF *const op)
CF_INLINE CanonicalForm operator/(const CanonicalForm &lhs, const CanonicalForm &rhs)
factory's class for variables
InternalCF * copyObject()
CF_INLINE CanonicalForm operator+(const CanonicalForm &lhs, const CanonicalForm &rhs)
CF_INLINE CanonicalForm operator +, -, *, /, % ( const CanonicalForm & lhs, const CanonicalForm & rhs...
CF_INLINE CanonicalForm mod(const CanonicalForm &lhs, const CanonicalForm &rhs)
CF_INLINE CanonicalForm operator*(const CanonicalForm &lhs, const CanonicalForm &rhs)
virtual class for internal CanonicalForm's
int imm_isone_p(const InternalCF *const ptr)
virtual bool isZero() const
virtual bool isOne() const
bool InternalCF::isOne, isZero () const
int imm_iszero_gf(const InternalCF *const ptr)
int imm_iszero(const InternalCF *const ptr)
Interface to generate InternalCF's over various domains from intrinsic types or mpz_t's.
static InternalCF * basic(long value)
InternalCF * imm_neg(const InternalCF *const op)
const Variable & v
< [in] a sqrfree bivariate poly
CF_INLINE CanonicalForm div(const CanonicalForm &lhs, const CanonicalForm &rhs)
CF_INLINE CanonicalForm div, mod ( const CanonicalForm & lhs, const CanonicalForm & rhs ) ...
InternalCF * imm_neg_gf(const InternalCF *const op)
int imm_isone_gf(const InternalCF *const ptr)
CF_INLINE CanonicalForm operator%(const CanonicalForm &lhs, const CanonicalForm &rhs)
int imm_isone(const InternalCF *const ptr)
operations on immediates, that is elements of F_p, GF, Z, Q that fit into intrinsic int...
Factory's internal CanonicalForm's.
CF_INLINE CanonicalForm operator-(const CanonicalForm &cf)
CF_INLINE CanonicalForm operator - ( const CanonicalForm & cf )
virtual InternalCF * neg() PVIRT_INTCF("neg")