20 return ((
nforder *)r->data)->String();
56 Print(
"KillChar %lx\n", r);
67 Print(
"%s called\n", __func__);
94 Werror(
"%s called\n", __func__, a, b, r);
99 Werror(
"IntDiv called on order elts", a, b, r);
104 Werror(
"IntMod called on order elts", a, b, r);
109 Werror(
"%s called\n", __func__, a, b, r);
134 Werror(
"%s called\n", __func__);
141 Werror(
"%s called\n", __func__);
148 Werror(
"%s called\n", __func__);
155 Werror(
"%s called\n", __func__);
163 Werror(
"%s called\n", __func__);
169 Werror(
"%s called\n", __func__);
185 Print(
"%s called\n", __func__, a, b, r);
190 Print(
"%s called\n", __func__, a, b, r);
215 Print(
"%s called\n", __func__, src, dst);
const CanonicalForm int s
static BOOLEAN EltGreater(number a, number b, const coeffs r)
void elAdd(bigintmat *a, bigintmat *b)
static number EltInitMPZ(mpz_t i, const coeffs r)
init with a GMP integer
static void KillChar(coeffs r)
static FORCE_INLINE number n_Init(long i, const coeffs r)
a number representing i in the given coeff field/ring r
static number EltCopy(number a, const coeffs r)
const CanonicalForm CFMap CFMap int &both_non_zero int n
static number EltIntDiv(number a, number b, const coeffs r)
number EltCreateMat(nforder *a, bigintmat *b)
BOOLEAN n_nfOrderInit(coeffs r, void *parameter)
static void EltDelete(number *a, const coeffs r)
static char * CoeffString(const coeffs r)
int int kStrategy strat if(h==NULL) return NULL
static BOOLEAN EltEqual(number a, number b, const coeffs r)
void Write()
IO: writes the matrix into the current internal string buffer which must be started/ allocated before...
static BOOLEAN EltIsZero(number a, const coeffs r)
static long EltInt(number &n, const coeffs r)
convertion to int, 0 if impossible
Coefficient rings, fields and other domains suitable for Singular polynomials.
static BOOLEAN EltGreaterZero(number a, const coeffs r)
The main handler for Singular numbers which are suitable for Singular polynomials.
static number EltDiv(number a, number b, const coeffs r)
static number EltSub(number a, number b, const coeffs r)
void StringAppendS(const char *st)
number(* nMapFunc)(number a, const coeffs src, const coeffs dst)
maps "a", which lives in src, into dst
bool skalmult(number b, coeffs c)
Multipliziert zur Matrix den Skalar b hinzu.
static void EltWrite(number a, const coeffs r)
static number EltIntMod(number a, number b, const coeffs r)
static BOOLEAN order_cmp(coeffs n, n_coeffType t, void *parameter)
static number EltAdd(number a, number b, const coeffs r)
static nMapFunc EltSetMap(const coeffs src, const coeffs dst)
static void SetChar(const coeffs r)
static BOOLEAN EltIsOne(number a, const coeffs r)
static FORCE_INLINE n_coeffType getCoeffType(const coeffs r)
Returns the type of coeffs domain.
void elMult(bigintmat *a, bigintmat *b)
static number EltMult(number a, number b, const coeffs r)
coeffs basecoeffs() const
static number EltInit(long i, const coeffs r)
init with an integer
static int EltSize(number n, const coeffs r)
how complicated, (0) => 0, or positive
void basis_elt(bigintmat *m, int i)
void elSub(bigintmat *a, bigintmat *b)
static void EltMPZ(mpz_t result, number &n, const coeffs r)
Converts a non-negative number n into a GMP number, 0 if impossible.
static BOOLEAN EltIsMOne(number a, const coeffs r)
static number EltNeg(number a, const coeffs r)
changes argument inline: a:= -a return -a! (no copy is returned) the result should be assigned to the...
static FORCE_INLINE void n_Delete(number *p, const coeffs r)
delete 'p'
BOOLEAN EltDBTest(number, const char *, const int, const coeffs)
static number EltInvers(number a, const coeffs r)
return 1/a
static number EltExactDiv(number a, number b, const coeffs r)
void Werror(const char *fmt,...)
static void WriteRing(const coeffs r, BOOLEAN details)
static const char * EltRead(const char *s, number *a, const coeffs r)