 |
My Project
debian-1:4.1.1-p2+ds-4build3
|
#include "kernel/mod2.h"
#include "omalloc/omalloc.h"
#include "misc/intvec.h"
#include "polys/matpol.h"
#include "kernel/polys.h"
#include "kernel/ideals.h"
#include "tok.h"
#include "ipid.h"
#include "subexpr.h"
#include "ipshell.h"
#include "ipprint.h"
#include "attrib.h"
Go to the source code of this file.
◆ ipPrint_CRING()
◆ ipPrint_INTMAT()
◆ ipPrint_INTVEC()
◆ ipPrint_MA()
◆ ipPrint_MA0()
static void ipPrint_MA0 |
( |
matrix |
m, |
|
|
const char * |
name |
|
) |
| |
|
static |
Definition at line 60 of file ipprint.cc.
73 vl=
si_max(vl,(
int)strlen(ss));
101 sprintf(ss,
"%s[%d,%d]",
name,
i+1,
j+1);
105 vl=
si_max(vl,(
int)strlen(ss));
135 sprintf(ss,
"%s[%d,%d]",
name,
i+1,
j+1);
◆ ipPrint_RING()
Definition at line 196 of file ipprint.cc.
198 ring r=(ring)u->
Data();
199 PrintS(
"polynomial ring, over a ");
203 else PrintS(
"ring (with zero-divisors)");
206 if (r->OrdSgn==1)
PrintS(
", global");
207 else if (r->MixedOrder==1)
PrintS(
", mixed");
◆ ipPrint_V()
◆ ipPrintBetti()
static void ipPrintBetti |
( |
leftv |
u | ) |
|
|
static |
◆ jjDBPRINT()
Definition at line 320 of file ipprint.cc.
325 print= (((int)((
long)(u->
Data()))) > 0);
◆ jjPRINT()
◆ jjPRINT_FORMAT()
Definition at line 393 of file ipprint.cc.
396 if ((u->
Typ()==
INTMAT_CMD)&&(strcmp((
char *)
v->Data(),
"betti")==0))
409 if (strlen(ns) == 3 && ns[1] ==
'2')
415 if (strcmp(ns,
"%l") == 0)
420 char* ns = (
char*)
omAlloc(strlen((
char*)
res->data) + 2);
421 strcpy(ns, (
char*)
res->data);
427 else if (strcmp(ns,
"%t") == 0)
433 ((
char*)
res->data)[strlen((
char*)
res->data) -1] =
'\0';
435 else if (strcmp(ns,
"%;") == 0)
442 else if (strcmp(ns,
"%p") == 0)
458 char* ns = (
char*)
omAlloc(strlen((
char*)
res->data) + 2);
459 strcpy(ns, (
char*)
res->data);
void StringAppendS(const char *st)
static BOOLEAN rField_is_Domain(const ring r)
void Print(leftv store=NULL, int spaces=0)
Called by type_cmd (e.g. "r;") or as default in jPRINT.
static BOOLEAN ipPrint_RING(leftv u)
BOOLEAN iiExprArith1(leftv res, leftv a, int op)
static BOOLEAN ipPrint_MA(leftv u)
static BOOLEAN ipPrint_CRING(leftv u)
static BOOLEAN ipPrint_V(leftv u)
Class used for (list of) interpreter objects.
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
static BOOLEAN ipPrint_INTMAT(leftv u)
void PrintS(const char *s)
#define omFreeSize(addr, size)
static BOOLEAN rField_is_Ring(const ring r)
matrix id_Module2Matrix(ideal mod, const ring R)
static FORCE_INLINE BOOLEAN nCoeff_is_Ring(const coeffs r)
static void ipPrint_MA0(matrix m, const char *name)
static void ipPrintBetti(leftv u)
BOOLEAN jjPRINT(leftv res, leftv u)
#define IMATELEM(M, I, J)
char * String(void *d=NULL, BOOLEAN typed=FALSE, int dim=1)
Called for conversion to string (used by string(..), write(..),..)
void rWrite(ring r, BOOLEAN details)
void StringSetS(const char *st)
static int si_max(const int a, const int b)
void * atGet(idhdl root, const char *name, int t, void *defaultReturnValue)
void p_Vec2Polys(poly v, poly **p, int *len, const ring r)
char name(const Variable &v)
static FORCE_INLINE char * nCoeffName(const coeffs cf)
const Variable & v
< [in] a sqrfree bivariate poly
const CanonicalForm int s
ideal id_Copy(ideal h1, const ring r)
copy an ideal
static BOOLEAN ipPrint_INTVEC(leftv u)
static FORCE_INLINE BOOLEAN nCoeff_is_Domain(const coeffs r)
returns TRUE, if r is a field or r has no zero divisors (i.e is a domain)