source: git/libpolys/coeffs/ffields.h @ 920581

jengelh-datetimespielwiese
Last change on this file since 920581 was 920581, checked in by Oleksandr Motsak <motsak@…>, 12 years ago
CHG: moved GFInfo to coeffs.h
  • Property mode set to 100644
File size: 1.8 KB
Line 
1#ifndef FFIELDS_H
2#define FFIELDS_H
3/****************************************
4*  Computer Algebra System SINGULAR     *
5****************************************/
6/* $Id$ */
7/*
8* ABSTRACT: finite fields with a none-prime number of elements (via tables)
9*/
10#include <coeffs/coeffs.h>
11
12BOOLEAN nfInitChar(coeffs r, void*);
13
14//static BOOLEAN nfCoeffsEqual(const coeffs r, n_coeffType n, void* parameter);
15
16BOOLEAN nfGreaterZero (number k, const coeffs r);
17number  nfMult        (number a, number b, const coeffs r);
18number  nfInit        (int i, const coeffs r);
19number  nfPar         (int i, const coeffs r);
20int     nfParDeg      (number n, const coeffs r);
21int     nfInt         (number &n, const coeffs r);
22number  nfAdd         (number a, number b, const coeffs r);
23number  nfSub         (number a, number b, const coeffs r);
24void    nfPower       (number a, int i, number * result, const coeffs r);
25BOOLEAN nfIsZero      (number a, const coeffs r);
26BOOLEAN nfIsOne       (number a, const coeffs r);
27BOOLEAN nfIsMOne      (number a, const coeffs r);
28number  nfDiv         (number a, number b, const coeffs r);
29number  nfNeg         (number c, const coeffs r);
30number  nfInvers      (number c, const coeffs r);
31BOOLEAN nfGreater     (number a, number b, const coeffs r);
32BOOLEAN nfEqual       (number a, number b, const coeffs r);
33void    nfWrite       (number &a, const coeffs r);
34const char *  nfRead  (const char *s, number *a, const coeffs r);
35#ifdef LDEBUG
36BOOLEAN nfDBTest      (number a, const char *f, const int l, const coeffs r);
37#endif
38//void    nfSetChar     (const coeffs r);
39
40nMapFunc nfSetMap     (const coeffs src, const coeffs dst);
41char *  nfName        (number n, const coeffs r);
42void    nfReadTable   (const int c, const coeffs r);
43
44void    nfCoeffWrite(const coeffs r);
45void    nfShowMipo(const coeffs r);
46#endif
47
Note: See TracBrowser for help on using the repository browser.