Changeset 7fee876 in git for libpolys/coeffs/gnumpc.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/gnumpc.h
rce1f78 r7fee876 8 8 * ABSTRACT: computations with GMP floating-point numbers 9 9 */ 10 #include < coeffs/coeffs.h>10 #include <misc/auxiliary.h> 11 11 12 /// Get a mapping function from src into the domain of this type: long_C! 13 nMapFunc ngcSetMap(const coeffs src, const coeffs dst);12 struct n_Procs_s; 13 typedef struct n_Procs_s *coeffs; 14 14 15 /// Initialize r 15 /// Initialize r (n_long_C) 16 16 BOOLEAN ngcInitChar(coeffs r, void*); 17 17 18 void ngcSetChar(const coeffs r);19 20 // Private interface should be hidden!!!21 22 /// Note: MAY NOT WORK AS EXPECTED!23 BOOLEAN ngcGreaterZero(number za, const coeffs r);24 BOOLEAN ngcGreater(number a, number b, const coeffs r);25 BOOLEAN ngcEqual(number a, number b, const coeffs r);26 BOOLEAN ngcIsOne(number a, const coeffs r);27 BOOLEAN ngcIsMOne(number a, const coeffs r);28 BOOLEAN ngcIsZero(number za, const coeffs r);29 number ngcInit(long i, const coeffs r);30 int ngcInt(number &n, const coeffs r);31 number ngcNeg(number za, const coeffs r);32 number ngcInvers(number a, const coeffs r);33 number ngcPar(int i, const coeffs r);34 number ngcAdd(number la, number li, const coeffs r);35 number ngcSub(number la, number li, const coeffs r);36 number ngcMult(number a, number b, const coeffs r);37 number ngcDiv(number a, number b, const coeffs r);38 void ngcPower(number x, int exp, number *lu, const coeffs r);39 number ngcCopy(number a, const coeffs r);40 number ngc_Copy(number a, coeffs r);41 const char * ngcRead (const char *s, number *a, const coeffs r);42 void ngcWrite(number &a, const coeffs r);43 number ngcRePart(number a, const coeffs r);44 number ngcImPart(number a, const coeffs r);45 46 void ngcDelete(number *a, const coeffs r);47 void ngcCoeffWrite(const coeffs r, BOOLEAN details);48 49 #ifdef LDEBUG50 BOOLEAN ngcDBTest(number a, const char *f, const int l, const coeffs r);51 #endif52 53 54 number ngcMapQ(number from, const coeffs r, const coeffs aRing);55 18 #endif 56 19 /* GMPCOMPLEX_H */
Note: See TracChangeset
for help on using the changeset viewer.