Go to the source code of this file.
◆ sConvertTypes
◆ IPCONV
◆ NULL_VAL
◆ iiConvertProc
typedef void*(* iiConvertProc) (void *data) |
◆ iiConvertProcL
typedef void(* iiConvertProcL) (leftv out, leftv in) |
◆ iiBI2Id()
static void* iiBI2Id |
( |
void * |
data | ) |
|
|
static |
Definition at line 94 of file ipconv.cc.
static FORCE_INLINE char * nCoeffName(const coeffs cf)
static FORCE_INLINE nMapFunc n_SetMap(const coeffs src, const coeffs dst)
set the mapping function pointers for translating numbers from src to dst
static FORCE_INLINE void n_Delete(number *p, const coeffs r)
delete 'p'
number(* nMapFunc)(number a, const coeffs src, const coeffs dst)
maps "a", which lives in src, into dst
ring currRing
Widely used global variable which specifies the current polynomial ring for Singular interpreter and ...
void Werror(const char *fmt,...)
ideal idInit(int idsize, int rank)
initialise an ideal / module
◆ iiBI2N()
static void* iiBI2N |
( |
void * |
data | ) |
|
|
static |
◆ iiBI2P()
static void* iiBI2P |
( |
void * |
data | ) |
|
|
static |
Definition at line 51 of file ipconv.cc.
poly p_NSet(number n, const ring r)
returns the poly representing the number n, destroys n
◆ iiBI2V()
static void* iiBI2V |
( |
void * |
data | ) |
|
|
static |
◆ iiConvert()
Definition at line 401 of file ipconv.cc.
403 memset(output,0,
sizeof(
sleftv));
404 if ((inputType==outputType)
408 memcpy(output,input,
sizeof(*output));
409 memset(input,0,
sizeof(*input));
415 output->
data=(
char *)(
long)input->
Typ();
446 sprintf(tmp,
"%c%d",*(
currRing->names[nr-1]),
464 number n=(number)input->
data;
466 input->
data=(
void*)n;
490 Print(
"automatic conversion %s -> %s\n",
495 output->
rtyp=outputType;
523 while (input->
e!=
NULL)
void killAll(const ring r)
Class used for (list of) interpreter objects.
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)
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)
#define pIsConstant(p)
like above, except that Comp might be != 0
#define pGetExp(p, i)
Exponent.
void StringSetS(const char *st)
const struct sConvertTypes dConvertTypes[]
◆ iiDummy()
static void* iiDummy |
( |
void * |
data | ) |
|
|
static |
◆ iiI2BI()
static void* iiI2BI |
( |
void * |
data | ) |
|
|
static |
Definition at line 172 of file ipconv.cc.
static FORCE_INLINE number n_Init(long i, const coeffs r)
a number representing i in the given coeff field/ring r
◆ iiI2Id()
static void* iiI2Id |
( |
void * |
data | ) |
|
|
static |
◆ iiI2Iv()
static void* iiI2Iv |
( |
void * |
data | ) |
|
|
static |
Definition at line 159 of file ipconv.cc.
161 int s=(int)(
long)data;
const CanonicalForm int s
◆ iiI2N()
static void* iiI2N |
( |
void * |
data | ) |
|
|
static |
◆ iiI2P()
static void* iiI2P |
( |
void * |
data | ) |
|
|
static |
◆ iiI2V()
static void* iiI2V |
( |
void * |
data | ) |
|
|
static |
◆ iiIm2Bim()
static void* iiIm2Bim |
( |
void * |
data | ) |
|
|
static |
Definition at line 320 of file ipconv.cc.
bigintmat * iv2bim(intvec *b, const coeffs C)
◆ iiIm2Ma()
static void* iiIm2Ma |
( |
void * |
data | ) |
|
|
static |
Definition at line 303 of file ipconv.cc.
#define IMATELEM(M, I, J)
matrix mpNew(int r, int c)
create a r x c zero-matrix
#define MATELEM(mat, i, j)
◆ iiL2R()
Definition at line 376 of file ipconv.cc.
void * atGet(idhdl root, const char *name, int t, void *defaultReturnValue)
void atSet(idhdl root, char *name, void *data, int typ)
intvec * ivCopy(const intvec *o)
syStrategy syConvList(lists li)
◆ iiMa2Mo()
static void* iiMa2Mo |
( |
void * |
data | ) |
|
|
static |
Definition at line 153 of file ipconv.cc.
ideal id_Matrix2Module(matrix mat, const ring R)
converts mat to module, destroys mat
◆ iiMo2Ma()
static void* iiMo2Ma |
( |
void * |
data | ) |
|
|
static |
Definition at line 147 of file ipconv.cc.
matrix id_Module2Matrix(ideal mod, const ring R)
◆ iiN2Ma()
static void* iiN2Ma |
( |
void * |
data | ) |
|
|
static |
◆ iiN2P()
static void * iiN2P |
( |
void * |
data | ) |
|
|
static |
◆ iiP2Id()
static void* iiP2Id |
( |
void * |
data | ) |
|
|
static |
Definition at line 116 of file ipconv.cc.
#define pGetComp(p)
Component.
◆ iiP2V()
static void* iiP2V |
( |
void * |
data | ) |
|
|
static |
◆ iiR2L_l()
Definition at line 365 of file ipconv.cc.
367 int add_row_shift = 0;
369 if (weights!=
NULL) add_row_shift=weights->
min_in();
lists syConvRes(syStrategy syzstr, BOOLEAN toDel, int add_row_shift)
◆ iiS2Link()
static void* iiS2Link |
( |
void * |
data | ) |
|
|
static |
Definition at line 357 of file ipconv.cc.
BOOLEAN slInit(si_link l, char *istr)
◆ iiTestConvert()
int iiTestConvert |
( |
int |
inputType, |
|
|
int |
outputType, |
|
|
const struct sConvertTypes * |
dConvertTypes |
|
) |
| |
Definition at line 541 of file ipconv.cc.
543 if ((inputType==outputType)
545 || (outputType==
IDHDL)
550 if (inputType==
UNKNOWN)
return 0;
◆ iiV2Ma()
static void* iiV2Ma |
( |
void * |
data | ) |
|
|
static |
Definition at line 129 of file ipconv.cc.
static ideal idVec2Ideal(poly vec)