My Project
Loading...
Searching...
No Matches
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
12struct n_Procs_s; typedef struct n_Procs_s *coeffs;
13struct snumber; typedef struct snumber * number;
14
15#ifdef HAVE_RINGS
16#include "coeffs/rintegers.h"
17
18typedef struct { mpz_ptr base; unsigned long exp; } ZnmInfo;
19
20BOOLEAN nrnInitChar (coeffs r, void*);
21number nrnMapGMP(number from, const coeffs /*src*/, const coeffs dst);/*for SAGE*/
22nMapFunc nrnSetMap(const coeffs src, const coeffs dst);/* for SAGE, better: n_setMap*/
24
25#endif
26
27#endif
All the auxiliary stuff.
int BOOLEAN
Definition: auxiliary.h:87
Coefficient rings, fields and other domains suitable for Singular polynomials.
n_coeffType
Definition: coeffs.h:27
number(* nMapFunc)(number a, const coeffs src, const coeffs dst)
maps "a", which lives in src, into dst
Definition: coeffs.h:73
'SR_INT' is the type of those integers small enough to fit into 29 bits.
Definition: longrat.h:49
gmp_float exp(const gmp_float &a)
Definition: mpr_complex.cc:357
The main handler for Singular numbers which are suitable for Singular polynomials.
coeffs nrnInitCfByName(char *name, n_coeffType n)
Definition: rmodulon.cc:35
mpz_ptr base
Definition: rmodulon.h:18
nMapFunc nrnSetMap(const coeffs src, const coeffs dst)
Definition: rmodulon.cc:796
BOOLEAN nrnInitChar(coeffs r, void *)
Definition: rmodulon.cc:993
number nrnMapGMP(number from, const coeffs, const coeffs dst)
Definition: rmodulon.cc:735
int name
New type name for int.
Definition: templateForC.h:21