Go to the source code of this file.
◆ leftv
◆ ipPrint_MA0()
Definition at line 58 of file ipprint.cc.
71 vl=
si_max(vl,(
int)strlen(ss));
99 sprintf(ss,
"%s[%d,%d]",
name,
i+1,
j+1);
103 vl=
si_max(vl,(
int)strlen(ss));
133 sprintf(ss,
"%s[%d,%d]",
name,
i+1,
j+1);
static int si_max(const int a, const int b)
const CanonicalForm int s
char name(const Variable &v)
#define omFreeSize(addr, size)
void StringSetS(const char *st)
void StringAppendS(const char *st)
void PrintS(const char *s)
◆ jjDBPRINT()
Definition at line 317 of file ipprint.cc.
322 print= (((int)((
long)(u->
Data()))) > 0);
Class used for (list of) interpreter objects.
BOOLEAN jjPRINT(leftv res, leftv u)
◆ jjPRINT()
Definition at line 251 of file ipprint.cc.
307 if (
s[
l-1]==
'\n')
s[
l-1]=
'\0';
char * String(void *d=NULL, BOOLEAN typed=FALSE, int dim=1)
Called for conversion to string (used by string(..), write(..),..)
void Print(leftv store=NULL, int spaces=0)
Called by type_cmd (e.g. "r;") or as default in jPRINT.
ideal id_Copy(ideal h1, const ring r)
copy an ideal
static BOOLEAN ipPrint_RING(ring r)
void ipPrint_MA0(matrix m, const char *name)
static BOOLEAN ipPrint_V(poly u)
static BOOLEAN ipPrint_MA(leftv u)
static BOOLEAN ipPrint_INTVEC(intvec *v)
static BOOLEAN ipPrint_INTMAT(intvec *v)
static BOOLEAN ipPrint_CRING(coeffs r)
The main handler for Singular numbers which are suitable for Singular polynomials.
ring currRing
Widely used global variable which specifies the current polynomial ring for Singular interpreter and ...
void id_Delete(ideal *h, ring r)
deletes an ideal/module/matrix
matrix id_Module2Matrix(ideal mod, const ring R)
◆ jjPRINT_FORMAT()
Definition at line 390 of file ipprint.cc.
393 if ((u->
Typ()==
INTMAT_CMD)&&(strcmp((
char *)
v->Data(),
"betti")==0))
406 if (strlen(ns) == 3 && ns[1] ==
'2')
412 if (strcmp(ns,
"%l") == 0)
417 char* ns = (
char*)
omAlloc(strlen((
char*)
res->data) + 2);
418 strcpy(ns, (
char*)
res->data);
424 else if (strcmp(ns,
"%t") == 0)
430 ((
char*)
res->data)[strlen((
char*)
res->data) -1] =
'\0';
432 else if (strcmp(ns,
"%;") == 0)
439 else if (strcmp(ns,
"%p") == 0)
455 char* ns = (
char*)
omAlloc(strlen((
char*)
res->data) + 2);
456 strcpy(ns, (
char*)
res->data);
const Variable & v
< [in] a sqrfree bivariate poly
BOOLEAN iiExprArith1(leftv res, leftv a, int op)
static void ipPrintBetti(leftv u)