My Project
UNKNOWN_GIT_VERSION
libpolys
coeffs
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
#ifdef HAVE_RINGS
16
#include "
coeffs/rintegers.h
"
17
18
typedef
struct
{ mpz_ptr
base
;
int
exp
; }
ZnmInfo
;
19
20
BOOLEAN
nrnInitChar
(
coeffs
r,
void
*);
21
number
nrnMapGMP
(number from,
const
coeffs
/*src*/
,
const
coeffs
dst);
/*for SAGE*/
22
nMapFunc
nrnSetMap
(
const
coeffs
src,
const
coeffs
dst);
/* for SAGE, better: n_setMap*/
23
coeffs
nrnInitCfByName
(
char
*
name
,
n_coeffType
n);
24
25
#endif
26
27
#endif
CxxTest::base
char N base
Definition:
ValueTraits.h:144
nrnMapGMP
number nrnMapGMP(number from, const coeffs, const coeffs dst)
Definition:
rmodulon.cc:732
auxiliary.h
All the auxiliary stuff.
nrnInitChar
BOOLEAN nrnInitChar(coeffs r, void *)
Definition:
rmodulon.cc:999
ZnmInfo::exp
int exp
Definition:
rmodulon.h:18
rintegers.h
n_coeffType
n_coeffType
Definition:
coeffs.h:28
nMapFunc
number(* nMapFunc)(number a, const coeffs src, const coeffs dst)
maps "a", which lives in src, into dst
Definition:
coeffs.h:73
BOOLEAN
int BOOLEAN
Definition:
auxiliary.h:85
nrnInitCfByName
coeffs nrnInitCfByName(char *name, n_coeffType n)
Definition:
rmodulon.cc:58
coeffs
The main handler for Singular numbers which are suitable for Singular polynomials.
nrnSetMap
nMapFunc nrnSetMap(const coeffs src, const coeffs dst)
Definition:
rmodulon.cc:815
snumber
'SR_INT' is the type of those integers small enough to fit into 29 bits.
Definition:
longrat.h:48
name
char name(const Variable &v)
Definition:
factory.h:180
ZnmInfo
Definition:
rmodulon.h:18
n_Procs_s
Definition:
coeffs.h:123
coeffs.h
Coefficient rings, fields and other domains suitable for Singular polynomials.
Generated on Wed Sep 30 2020 00:00:00 for My Project by
doxygen 1.8.20
for
Singular UNKNOWN_GIT_VERSION