Go to the source code of this file.
◆ iiConvert()
Definition at line 435 of file ipconv.cc.
438 if ((inputType==outputType)
442 memcpy(output,input,
sizeof(*output));
449 output->
data=(
char *)(
long)input->
Typ();
480 sprintf(tmp,
"%c%d",*(
currRing->names[nr-1]),
498 number n=(number)input->
data;
500 input->
data=(
void*)n;
524 Print(
"automatic conversion %s -> %s\n",
529 output->
rtyp=outputType;
557 while (input->
e!=
NULL)
void killAll(const ring r)
void CleanUp(ring r=currRing)
static FORCE_INLINE void n_Write(number n, const coeffs r, const BOOLEAN bShortOut=TRUE)
const char * Tok2Cmdname(int tok)
const struct sConvertTypes dConvertTypes[]
static number & pGetCoeff(poly p)
return an alias to the leading coefficient of p assumes that p != NULL NOTE: not copy
#define omFreeBin(addr, bin)
static int index(p_Length length, p_Ord ord)
VAR ring currRing
Widely used global variable which specifies the current polynomial ring for Singular interpreter and ...
#define pIsConstant(p)
like above, except that Comp must be 0
#define pGetExp(p, i)
Exponent.
void StringSetS(const char *st)
◆ iiTestConvert()
Definition at line 575 of file ipconv.cc.
577 if ((inputType==outputType)
579 || (outputType==
IDHDL)
584 if (inputType==
UNKNOWN)
return 0;
◆ dConvertTypes