Functions
OPAE.h File Reference
#include <misc/auxiliary.h>

Go to the source code of this file.

Functions

BOOLEAN n_AEInitChar (coeffs, void *)
 

Function Documentation

BOOLEAN n_AEInitChar ( coeffs  ,
void *   
)

Definition at line 344 of file OPAE.cc.

345 {
346  // r->is_field, r->is_domain?
347  r->ch = 0;
348  //r->cfKillChar = ndKillChar; /* dummy */
349  //r->nCoeffIsEqual=ndCoeffIsEqual;
350  r->cfMult = nAEMult;
351  r->cfSub = nAESub;
352  r->cfAdd = nAEAdd;
353  r->cfDiv = nAEDiv;
354  r->cfIntMod= nAEIntMod;
355  r->cfExactDiv= nAEExactDiv;
356  r->cfInit = nAEInit;
357  r->cfSize = nAESize;
358  r->cfInt = nAEInt;
359  r->cfCoeffName = n_AECoeffName;
360 #ifdef HAVE_RINGS
361  //r->cfDivComp = NULL; // only for ring stuff
362  //r->cfIsUnit = NULL; // only for ring stuff
363  //r->cfGetUnit = NULL; // only for ring stuff
364  //r->cfExtGcd = NULL; // only for ring stuff
365  // r->cfDivBy = NULL; // only for ring stuff
366 #endif
367  r->cfInpNeg = nAENeg;
368  r->cfInvers= NULL;
369  //r->cfCopy = ndCopy;
370  //r->cfRePart = ndCopy;
371  //r->cfImPart = ndReturn0;
372  r->cfWriteLong = nAEWriteLong;
373  r->cfRead = nAERead;
374  //r->cfNormalize=ndNormalize;
375  r->cfGreater = nAEGreater;
376  r->cfEqual = nAEEqual;
377  r->cfIsZero = nAEIsZero;
378  r->cfIsOne = nAEIsOne;
379  r->cfIsMOne = nAEIsOne;
380  r->cfGreaterZero = nAEGreaterZero;
381  r->cfPower = nAEPower; // ZU BEARBEITEN
382  r->cfGetDenom = nAEGetDenom;
383  r->cfGetNumerator = nAEGetNumerator;
384  r->cfGcd = nAEGcd;
385  r->cfLcm = nAELcm; // ZU BEARBEITEN
386  r->cfDelete= nAEDelete;
387  r->cfCoeffString=nAECoeffString;
388 
389  r->cfSetMap = nAESetMap;
390 
391  r->cfInpMult=nAEInpMult; //????
392  r->cfCoeffWrite=nAECoeffWrite; //????
393 
394 
395  // the variables:
396  r->nNULL = (number) 0;
397  //r->type = n_AE;
398  r->ch = 0;
399  r->has_simple_Alloc=TRUE;
400  r->has_simple_Inverse=TRUE;
401  return FALSE;
402 }
number nAEGcd(number a, number b, const coeffs r)
Definition: OPAE.cc:279
BOOLEAN nAEGreater(number a, number b, const coeffs r)
Definition: OPAE.cc:221
const char * nAERead(const char *s, number *a, const coeffs r)
Definition: OPAE.cc:209
static char * nAECoeffString(const coeffs r)
Definition: OPAE.cc:336
#define FALSE
Definition: auxiliary.h:140
void nAEDelete(number *a, const coeffs r)
Definition: OPAE.cc:300
BOOLEAN nAEIsZero(number a, const coeffs r)
Definition: OPAE.cc:237
BOOLEAN nAEIsOne(number a, const coeffs r)
Definition: OPAE.cc:244
long nAEInt(number &a, const coeffs r)
Definition: OPAE.cc:158
#define TRUE
Definition: auxiliary.h:144
number nAESetMap(number a, const coeffs r)
number nAELcm(number a, number b, const coeffs r)
Definition: OPAE.cc:288
void nAEPower(number a, int i, number *result, const coeffs r)
Definition: OPAE.cc:264
BOOLEAN nAEEqual(number a, number b, const coeffs r)
Definition: OPAE.cc:229
number nAENeg(number c, const coeffs r)
Definition: OPAE.cc:170
number nAEIntMod(number a, number b, const coeffs r)
Definition: OPAE.cc:116
const ring r
Definition: syzextra.cc:208
void nAEInpMult(number &a, number b, const coeffs r)
Definition: OPAE.cc:311
number nAEGetDenom(number &a, const coeffs r)
Definition: OPAE.cc:269
number nAEInit(long i, const coeffs r)
Definition: OPAE.cc:133
number nAEAdd(number a, number b, const coeffs r)
Definition: OPAE.cc:74
number nAEGetNumerator(number &a, const coeffs r)
Definition: OPAE.cc:274
int nAESize(number a, const coeffs r)
Definition: OPAE.cc:152
static char * n_AECoeffName(const coeffs r)
Definition: OPAE.cc:331
#define NULL
Definition: omList.c:10
number nAESub(number a, number b, const coeffs r)
Definition: OPAE.cc:94
number nAEDiv(number a, number b, const coeffs r)
Definition: OPAE.cc:105
number nAEExactDiv(number a, number b, const coeffs r)
Definition: OPAE.cc:121
void nAEWriteLong(number a, const coeffs r)
Definition: OPAE.cc:194
BOOLEAN nAEGreaterZero(number a, number b, const coeffs r)
number nAEMult(number a, number b, const coeffs r)
Definition: OPAE.cc:84
void nAECoeffWrite(const coeffs r, BOOLEAN details)
Definition: OPAE.cc:316