 |
My Project
debian-1:4.1.2-p1+ds-2
|
Go to the source code of this file.
◆ flintQ_InitChar()
Definition at line 561 of file flintcf_Q.cc.
564 char *
pp=(
char*)infoStruct;
628 cf->iNumberOfParameters = 1;
629 char **pn=(
char**)
omAlloc0(
sizeof(
char*));
631 cf->pParameterNames = (
const char **)pn;
◆ flintQInitCfByName()
Definition at line 533 of file flintcf_Q.cc.
536 const char start[]=
"flint:QQ[";
537 const int start_len=strlen(start);
538 if (strncmp(
s,start,start_len)==0)
542 int l=sscanf(
s,
"%s",st);
545 while (st[strlen(st)-1]==
']') st[strlen(st)-1]=
'\0';
static number ExtGcd(number a, number b, number *s, number *t, const coeffs r)
static BOOLEAN Equal(number a, number b, const coeffs r)
static char * CoeffString(const coeffs r)
static number ExactDiv(number a, number b, const coeffs c)
static void Power(number a, int i, number *result, const coeffs r)
static BOOLEAN IsOne(number a, const coeffs r)
static number Gcd(number a, number b, const coeffs r)
static void Normalize(number &a, const coeffs r)
static number Init(long i, const coeffs r)
static void CoeffWrite(const coeffs r, BOOLEAN details)
static number Sub(number a, number b, const coeffs c)
char * CoeffName(const coeffs r)
coeffs nInitChar(n_coeffType t, void *parameter)
one-time initialisations for new coeffs in case of an error return NULL
static int Size(number n, const coeffs r)
static number GetDenom(number &n, const coeffs r)
static BOOLEAN Greater(number a, number b, const coeffs r)
static number InitMPZ(mpz_t i, const coeffs r)
static number GetNumerator(number &n, const coeffs r)
static number Parameter(const int i, const coeffs r)
static BOOLEAN IsMOne(number k, const coeffs r)
static number Add(number a, number b, const coeffs c)
static void MPZ(mpz_t result, number &n, const coeffs r)
static number Mult(number a, number b, const coeffs c)
static number Lcm(number a, number b, const coeffs r)
static number ConvFactoryNSingN(const CanonicalForm n, const coeffs r)
static number Neg(number a, const coeffs r)
static int ParDeg(number x, const coeffs r)
static long Int(number &n, const coeffs r)
static void KillChar(coeffs cf)
static number ChineseRemainder(number *x, number *q, int rl, BOOLEAN sym, CFArray &inv_cache, const coeffs)
static BOOLEAN GreaterZero(number k, const coeffs r)
static void WriteShort(number a, const coeffs r)
static nMapFunc SetMap(const coeffs src, const coeffs dst)
static BOOLEAN IsZero(number a, const coeffs r)
static CanonicalForm ConvSingNFactoryN(number n, BOOLEAN setChar, const coeffs r)
static const char * Read(const char *st, number *a, const coeffs r)
static number Invers(number a, const coeffs r)
static void WriteFd(number a, const ssiInfo *d, const coeffs)
static BOOLEAN DBTest(number a, const char *f, const int l, const coeffs r)
static number Div(number a, number b, const coeffs c)
const CanonicalForm int s
static number Farey(number p, number n, const coeffs)
static void SetChar(const coeffs r)
static number Copy(number a, const coeffs r)
static void Delete(number *a, const coeffs r)
static number ReadFd(const ssiInfo *d, const coeffs)
static BOOLEAN CoeffIsEqual(const coeffs r, n_coeffType n, void *parameter)