5 template<
typename mon,
typename T>
48 template<
typename mon,
typename T>
51 int tmpsize=this->size;
52 for(
int i=0;
i<tmpsize;
i++)
56 template<
typename mon,
typename T>
65 MAC_REV_REALLOC<mcoeff_t>(
nf,
sizeof(T)*size
72 for(
int i=0;
i<tmpsize;
i++)
81 template<
typename mon,
typename T>
90 template<
typename mon,
typename T>
93 for(
int i=0;
i<this->size;
i++)
97 template<
typename polyalp,
typename poly>
100 typedef typename polyalp::monom_t
mon;
101 typedef typename polyalp::order_t ord;
104 for(
int i=0;
i<p.size;
i++)
117 if (!
Iszero(p.ind.GetCoeff()))
127 template <
typename Mon,
typename Base>
131 for(
int j=0;
j<b.nvar();
j++)
144 template<
typename pol,
typename polyalp,
typename Base>
147 typedef typename polyalp::order_t ord;
148 typedef typename polyalp::monom_t
mon;
154 for(
typename polyalp::const_iterator iter=P.begin();iter!=P.end();iter++)
165 res.
nf=(coeff*)MAC_REV_MALLOC<coeff>(res.
size*
sizeof(coeff));
169 for(
typename polyalp::const_iterator iter=P.begin();iter!=P.end();iter++)
179 if(!
Iszero(coeff(iter->GetCoeff())))
193 template<
typename mon,
typename T>
209 template<
typename mon ,
typename T>
mon monofindex(int j, pol< mon, T > &p)
Definition: pol.hpp:210
#define max(a, b)
Definition: alp_f2c.H:167
C GetCoeff() const
Definition: Monom.hpp:67
typpol nf(int var, int indmon, const typdump &dump, const Base &b)
Definition: corealgo.hpp:1001
void * MAC_REV_REALLOC(void *ptr, int, int)
Definition: memory.hpp:49
T coeff_t
Definition: pol.hpp:9
int mon2int(const mon &mm)
Definition: placemon.hpp:294
MSKconetypee MSKrealt MSKint32t MSKint32t j
Definition: mosek.h:2421
~pol()
Definition: pol.hpp:18
void int2mon(const int &i, mon &res)
Definition: placemon.hpp:288
C coeff_t
Definition: Monom.hpp:26
pol & operator=(const pol &Q)
Definition: pol.hpp:82
mon monom_t
Definition: pol.hpp:8
int Degree(const pol< mon, T > &p)
Definition: pol.hpp:194
int IsinB(const mon &m, const Base &b)
Definition: IsinB3.hpp:68
void * MAC_REV_MALLOC(int size)
Definition: memory.hpp:39
Mon divmon(const Mon &mon, int i, const Base &b)
Definition: pol.hpp:128
Mon mon
Definition: solver_bb_floating.cpp:136
exponent_t GetDegree() const
Definition: Monom.hpp:70
MSKint32t MSKint32t MSKint32t i
Definition: mosek.h:2278
int Iszero(const Scl< MPQ > &c)
Definition: Iszero.hpp:14
Monom< COEFF, dynamicexp<'x'> > Mon
Definition: solver_bb_floating.cpp:134
int size
Definition: pol.hpp:10
pol & operator/=(const T &t)
Definition: pol.hpp:91
mon ind
Definition: pol.hpp:11
Multivariate monomials.
Definition: Monom.hpp:21
polyalp invconv(const poly &p)
Definition: pol.hpp:98
pol & operator-=(const pol &Q)
Definition: pol.hpp:57
T * nf
Definition: pol.hpp:12
pol operator*(const T &t)
Definition: pol.hpp:49
pol convert(const polyalp &P, const Base &b)
Definition: pol.hpp:145