Go to the source code of this file.
◆ SFREE
◆ SNONE
◆ mprState
Enumerator |
---|
mprOk | |
mprWrongRType | |
mprHasOne | |
mprInfNumOfVars | |
mprNotReduced | |
mprNotZeroDim | |
mprNotHomog | |
mprUnSupField | |
Definition at line 96 of file mpr_base.h.
◆ determineMType()
◆ loNewtonPolytope()
ideal loNewtonPolytope |
( |
const ideal |
id | ) |
|
Definition at line 3190 of file mpr_base.cc.
3191{
3194 int totverts,idelem;
3195 ideal idr;
3196
3197
3199
3200 totverts = 0;
3201 for(
i=0;
i < idelem;
i++) totverts +=
pLength( (id->m)[
i] );
3202
3203 LP =
new simplex( idelem+totverts*2+5, totverts+5 );
3204
3205
3207 idr = chnp.newtonPolytopesI( id );
3208
3209 delete LP;
3210
3211 return idr;
3212}
Linear Programming / Linear Optimization using Simplex - Algorithm.
static unsigned pLength(poly a)
◆ mprIdealCheck()
◆ gmp_output_digits