44#define TIMING_EPR(t,msg) TIMING_END_AND_PRINT(t,msg);TIMING_RESET(t);
56 WerrorS(
"Unknown chosen resultant matrix type!");
59 Werror(
"One element of the ideal %s is constant!",
name);
62 Werror(
"Wrong number of elements in given ideal %s, should be %d resp. %d!",
66 Werror(
"The given ideal %s must be 0-dimensional!",
name);
69 Werror(
"The given ideal %s has to be homogeneous in the first ring variable!",
73 Werror(
"The given ideal %s has to reduced!",
name);
76 WerrorS(
"Ground field not implemented!");
95 if ( rmatrix ) numOfVars++;
100 if (
IDELEMS(theIdeal) != numOfVars )
105 poly
p = (theIdeal->m)[
k];
119 if ( state !=
mprOk ) mprPrintError( state,
"" );
142poly u_resultant_det( ideal gls,
int imtype )
146 poly emptypoly=
pInit();
173 WerrorS(
"Unsuitable input ideal: Minor of resultant matrix is singular!");
virtual number getSubDet()
Base class for solving 0-dim poly systems using u-resultant.
resMatrixBase * accessResMat()
poly interpolateDense(const number subDetVal=NULL)
void WerrorS(const char *s)
uResultant::resMatType determineMType(int imtype)
mprState mprIdealCheck(const ideal theIdeal, const char *name, uResultant::resMatType mtype, BOOLEAN rmatrix=false)
#define TIMING_EPR(t, msg)
#define nPrint(a)
only for debug, over any initalized currRing
BOOLEAN p_IsHomogeneous(poly p, const ring r)
VAR ring currRing
Widely used global variable which specifies the current polynomial ring for Singular interpreter and ...
Compatibility layer for legacy polynomial operations (over currRing)
#define pIsConstant(p)
like above, except that Comp must be 0
#define pInit()
allocates a new monomial and initializes everything to 0
void PrintS(const char *s)
void Werror(const char *fmt,...)
static BOOLEAN rField_is_R(const ring r)
static BOOLEAN rField_is_long_C(const ring r)
static BOOLEAN rField_is_Q_a(const ring r)
static BOOLEAN rField_is_Q(const ring r)
static BOOLEAN rField_is_long_R(const ring r)
int name
New type name for int.
#define TIMING_DEFINE_PRINT(t)