All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
rmodulon.h
Go to the documentation of this file.
1 #ifndef RMODULON_H
2 #define RMODULON_H
3 /****************************************
4 * Computer Algebra System SINGULAR *
5 ****************************************/
6 /*
7 * ABSTRACT: numbers modulo n
8 */
9 #include <misc/auxiliary.h>
10 #include <coeffs/coeffs.h>
11 
12 struct n_Procs_s; typedef struct n_Procs_s *coeffs;
13 struct snumber; typedef struct snumber * number;
14 
15 #include <coeffs/rintegers.h>
16 
17 #ifdef HAVE_RINGS
18 
19 typedef struct { mpz_ptr base; unsigned long exp; } ZnmInfo;
20 
21 BOOLEAN nrnInitChar (coeffs r, void*);
22 number nrnMapGMP(number from, const coeffs /*src*/, const coeffs dst);/*for SAGE*/
23 nMapFunc nrnSetMap(const coeffs src, const coeffs dst);/* for SAGE, better: n_setMap*/
24 
25 
26 #endif
27 
28 #endif
nMapFunc nrnSetMap(const coeffs src, const coeffs dst)
Definition: rmodulon.cc:832
'SR_INT' is the type of those integers small enough to fit into 29 bits.
Definition: longrat.h:49
char N base
Definition: ValueTraits.h:144
number nrnMapGMP(number from, const coeffs, const coeffs dst)
Definition: rmodulon.cc:768
const ring r
Definition: syzextra.cc:208
Coefficient rings, fields and other domains suitable for Singular polynomials.
The main handler for Singular numbers which are suitable for Singular polynomials.
All the auxiliary stuff.
BOOLEAN nrnInitChar(coeffs r, void *)
Definition: rmodulon.cc:167
unsigned long exp
Definition: rmodulon.h:19
number(* nMapFunc)(number a, const coeffs src, const coeffs dst)
maps "a", which lives in src, into dst
Definition: coeffs.h:73
int BOOLEAN
Definition: auxiliary.h:88