8 #ifndef _MPolyFunction_hpp_
9 #define _MPolyFunction_hpp_
13 template <
class P>
inline
14 P
Pdiv (
const P & p,
const typename P::monom_t & m) {
16 for (
typename P::const_iterator
i = p.begin();
i != p.end(); ++
i)
17 res += div<typename P::monom_t>(*
i,m);
21 template <
class R,
class O>
inline
26 int d = p->GetDegree(i);
33 template <
class R,
class O>
inline
57 template <
class R,
class O>
inline
65 template <
class R,
class O>
inline
74 template <
class R,
class O>
inline
78 if (
j->GetDegree(i) == d) {
87 #endif //_MPolyFunction_hpp_
R::value_type monom_t
Definition: MPoly.hpp:31
Multivariate polynomials.
Definition: MPoly.hpp:28
iterator end()
Definition: MPoly.hpp:102
MSKconetypee MSKrealt MSKint32t MSKint32t j
Definition: mosek.h:2421
P Pdiv(const P &p, const typename P::monom_t &m)
Definition: MPolyFunction.hpp:14
MPoly< R, O > Coeff(const MPoly< R, O > &P, int i)
Definition: MPolyFunction.hpp:66
MPoly< R, O > Diff(const MPoly< R, O > &P, int i)
Definition: MPolyFunction.hpp:34
MSKrealt * c
Definition: mosek.h:2678
MSKint32t MSKint32t MSKint32t i
Definition: mosek.h:2278
R::const_iterator const_iterator
Definition: MPoly.hpp:35
int Degree(const MPoly< R, O > &P, int i)
Definition: MPolyFunction.hpp:22
iterator begin()
Definition: MPoly.hpp:97
int NbCoef(const MPoly< R, O > &P)
Definition: MPolyFunction.hpp:58