Go to the source code of this file.
Definition at line 358 of file ipconv.cc.
360 memset(output,0,
sizeof(
sleftv));
361 if ((inputType==outputType)
365 memcpy(output,input,
sizeof(*output));
366 memset(input,0,
sizeof(*input));
372 output->
data=(
char *)(
long)input->
Typ();
403 sprintf(tmp,
"%c%d",*(
currRing->names[nr-1]),
421 number n=(number)input->
data;
423 input->
data=(
void*)n;
430 memset(input,0,
sizeof(*input));
446 Print(
"automatic conversion %s -> %s\n",
451 output->
rtyp=outputType;
Class used for (list of) interpreter objects.
static number & pGetCoeff(poly p)
return an alias to the leading coefficient of p assumes that p != NULL NOTE: not copy ...
ring currRing
Widely used global variable which specifies the current polynomial ring for Singular interpreter and ...
#define pGetExp(p, i)
Exponent.
void StringSetS(const char *st)
static FORCE_INLINE void n_Write(number &n, const coeffs r, const BOOLEAN bShortOut=TRUE)
#define pIsConstant(p)
like above, except that Comp might be != 0
struct sConvertTypes dConvertTypes[]
static int index(p_Length length, p_Ord ord)
const char * Tok2Cmdname(int tok)
Definition at line 482 of file ipconv.cc.
484 if ((inputType==outputType)
486 || (outputType==
IDHDL)
ring currRing
Widely used global variable which specifies the current polynomial ring for Singular interpreter and ...
struct sConvertTypes dConvertTypes[]