Definition at line 43 of file MPoly_2_2.h.
Public Types | |
typedef NumberTraits< RT_ > | NTR |
typedef NTR::RT | RT |
typedef NTR::FT | FT |
typedef std::vector< RT > | Vector |
typedef RT | value_type |
typedef unsigned | size_type |
Public Member Functions | |
MPoly_2_2 () | |
MPoly_2_2 (const Vector &v) | |
MPoly_2_2 (RT *C) | |
MPoly_2_2 (const RT &c5, const RT &c4, const RT &c3, const RT &c2, const RT &c1, const RT &c0) | |
MPoly_2_2 (const FT &c5, const FT &c4, const FT &c3, const FT &c2, const FT &c1, const FT &c0) | |
MPoly_2_2 & | make_lcoeff_positive () |
Make the lcoeff, wrt to degree-lex order, positive. | |
MPoly_2_2 & | make_lcoeff_X_positive () |
Make the lcoeff, wrt x , positive. | |
MPoly_2_2 & | make_lcoeff_Y_positive () |
Make the lcoeff, wrt y , positive. | |
MPoly_2_2 & | revertXY () |
Revert the role of x and y . | |
int | degree (const int &idx) const |
If idx==0 degree wrt to X , else wrt to Y . | |
int | degree () const |
Total degree. | |
void | set_center (const FT &xc, const FT &yc) |
FT | xc () const |
FT | yc () const |
void | set_coeff (const size_type &i, const RT &x) |
RT | coeff (const size_type &i, const size_type &j) const |
RT | operator[] (const size_type &i) const |
unsigned long | id () const |
template<typename POLY> | |
int | sign_at (const FT &x, const FT &y) const |
Public Attributes | |
std::vector< RT > | C_ |
unsigned long | id_ |
FT | xc_ |
FT | yc_ |
Static Public Attributes | |
static unsigned long | counter |
Make the lcoeff, wrt to degree-lex order, positive.
Definition at line 119 of file MPoly_2_2.h.
References MPoly_2_2< RT_ >::C_.
Make the lcoeff, wrt x
, positive.
Definition at line 133 of file MPoly_2_2.h.
References MPoly_2_2< RT_ >::C_.
Make the lcoeff, wrt y
, positive.
Definition at line 151 of file MPoly_2_2.h.
References MPoly_2_2< RT_ >::C_.
Revert the role of x
and y
.
Definition at line 170 of file MPoly_2_2.h.
References MPoly_2_2< RT_ >::C_.
int MPoly_2_2< RT_ >::degree | ( | const int & | idx | ) | const |
If idx==0 degree wrt to X
, else wrt to Y
.
Definition at line 178 of file MPoly_2_2.h.
References MPoly_2_2< RT_ >::C_.
int MPoly_2_2< RT_ >::degree | ( | ) | const |