FORM  4.1
Public Member Functions | Static Public Member Functions | Data Fields
poly Class Reference

Public Member Functions

 poly (PHEAD int, WORD=-1, WORD=1)
 
 poly (PHEAD const UWORD *, WORD, WORD=-1, WORD=1)
 
 poly (const poly &, WORD=-1, WORD=1)
 
polyoperator+= (const poly &)
 
polyoperator-= (const poly &)
 
polyoperator*= (const poly &)
 
polyoperator/= (const poly &)
 
polyoperator%= (const poly &)
 
const poly operator+ (const poly &) const
 
const poly operator- (const poly &) const
 
const poly operator* (const poly &) const
 
const poly operator/ (const poly &) const
 
const poly operator% (const poly &) const
 
bool operator== (const poly &) const
 
bool operator!= (const poly &) const
 
polyoperator= (const poly &)
 
WORD & operator[] (int)
 
const WORD & operator[] (int) const
 
void termscopy (const WORD *, int, int)
 
void check_memory (int)
 
void expand_memory (int)
 
bool is_zero () const
 
bool is_one () const
 
bool is_integer () const
 
bool is_monomial () const
 
int is_dense_univariate () const
 
int sign () const
 
int degree (int) const
 
int total_degree () const
 
int first_variable () const
 
int number_of_terms () const
 
const std::vector< int > all_variables () const
 
const poly integer_lcoeff () const
 
const poly lcoeff_univar (int) const
 
const poly lcoeff_multivar (int) const
 
const poly coefficient (int, int) const
 
const poly derivative (int) const
 
void setmod (WORD, WORD=1)
 
void coefficients_modulo (UWORD *, WORD, bool)
 
int size_of_form_notation ()
 
const polynormalize ()
 
const std::string to_string () const
 
WORD last_monomial_index () const
 
WORD * last_monomial () const
 

Static Public Member Functions

static const poly simple_poly (PHEAD int, int=0, int=1, int=0, int=1)
 
static const poly simple_poly (PHEAD int, const poly &, int=1, int=0, int=1)
 
static void get_variables (PHEAD std::vector< WORD * >, bool, bool)
 
static const poly argument_to_poly (PHEAD WORD *, bool, bool, poly *den=NULL)
 
static void poly_to_argument (const poly &, WORD *, bool)
 
static const poly from_coefficient_list (PHEAD const std::vector< WORD > &, int, WORD)
 
static const std::vector< WORD > to_coefficient_list (const poly &)
 
static const std::vector< WORD > coefficient_list_divmod (const std::vector< WORD > &, const std::vector< WORD > &, WORD, int)
 
static int monomial_compare (PHEAD const WORD *, const WORD *)
 
static void add (const poly &, const poly &, poly &)
 
static void sub (const poly &, const poly &, poly &)
 
static void mul (const poly &, const poly &, poly &)
 
static void div (const poly &, const poly &, poly &)
 
static void mod (const poly &, const poly &, poly &)
 
static void divmod (const poly &, const poly &, poly &, poly &, bool only_divides)
 
static bool divides (const poly &, const poly &)
 
static void mul_one_term (const poly &, const poly &, poly &)
 
static void mul_univar (const poly &, const poly &, poly &, int)
 
static void mul_heap (const poly &, const poly &, poly &)
 
static void divmod_one_term (const poly &, const poly &, poly &, poly &, bool)
 
static void divmod_univar (const poly &, const poly &, poly &, poly &, int, bool)
 
static void divmod_heap (const poly &, const poly &, poly &, poly &, bool)
 
static void push_heap (PHEAD WORD **, int)
 
static void pop_heap (PHEAD WORD **, int)
 

Data Fields

WORD * terms
 
LONG size_of_terms
 
WORD modp
 
WORD modn
 

Detailed Description

Definition at line 49 of file poly.h.


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