Changeset 7fee876 in git for libpolys/coeffs/ffields.h
- Timestamp:
- Mar 16, 2012, 9:26:19 PM (11 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- Children:
- 5a72fe43aa1fbae0fb93ebbff5685375e726f93c
- Parents:
- ce1f78b09d525de2d3babcf986a9f4821e60ed00
- git-author:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-03-16 21:26:19+01:00
- git-committer:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-03-17 05:41:42+01:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/coeffs/ffields.h
rce1f78 r7fee876 8 8 * ABSTRACT: finite fields with a none-prime number of elements (via tables) 9 9 */ 10 #include < coeffs/coeffs.h>10 #include <misc/auxiliary.h> 11 11 12 struct n_Procs_s; 13 typedef struct n_Procs_s *coeffs; 14 15 //// Initialize r (n_GF) 12 16 BOOLEAN nfInitChar(coeffs r, void*); 13 17 14 BOOLEAN nfGreaterZero (number k, const coeffs r); 15 number nfMult (number a, number b, const coeffs r); 16 number nfInit (long i, const coeffs r); 17 number nfPar (int i, const coeffs r); 18 int nfParDeg (number n, const coeffs r); 19 int nfInt (number &n, const coeffs r); 20 number nfAdd (number a, number b, const coeffs r); 21 number nfSub (number a, number b, const coeffs r); 22 void nfPower (number a, int i, number * result, const coeffs r); 23 BOOLEAN nfIsZero (number a, const coeffs r); 24 BOOLEAN nfIsOne (number a, const coeffs r); 25 BOOLEAN nfIsMOne (number a, const coeffs r); 26 number nfDiv (number a, number b, const coeffs r); 27 number nfNeg (number c, const coeffs r); 28 number nfInvers (number c, const coeffs r); 29 BOOLEAN nfGreater (number a, number b, const coeffs r); 30 BOOLEAN nfEqual (number a, number b, const coeffs r); 31 void nfWrite (number &a, const coeffs r); 32 const char * nfRead (const char *s, number *a, const coeffs r); 33 #ifdef LDEBUG 34 BOOLEAN nfDBTest (number a, const char *f, const int l, const coeffs r); 18 /// Show the mininimal polynom.... 19 /// NOTE: this is used by char * sleftv::String(void *d, BOOLEAN typed, int dim) (from Singular/subexpr.cc) 20 /// TODO: rewrite this UGLYNESS!!! 21 void nfShowMipo(const coeffs r); 22 35 23 #endif 36 //void nfSetChar (const coeffs r);37 38 nMapFunc nfSetMap (const coeffs src, const coeffs dst);39 char * nfName (number n, const coeffs r);40 void nfReadTable (const int c, const coeffs r);41 42 void nfCoeffWrite(const coeffs r, BOOLEAN details);43 void nfShowMipo(const coeffs r);44 #endif
Note: See TracChangeset
for help on using the changeset viewer.