Changeset 7fee876 in git for libpolys/coeffs/gnumpc.h


Ignore:
Timestamp:
Mar 16, 2012, 9:26:19 PM (12 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
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
Message:
moved prarameter-handling to coeffs from rings.* and related fixes

chg: removed complex_parameter, m_nfParameter
add: n_NumberOfParameters, n_ParameterNames, n_Param(coeffs)
fix: par(1) (n_Param) for n_GF & n_long_C
fix/chg: n_long_C is an Extension as well (rIsExtension)
fix: n_long_C ngcCoeffWrite: additional space needed for compatibility with legacy Singular
fix: complexToStr over non-C coeffs!
fix: rRenameVars renames _new_ VARIABLES instead of _old_ parameters!
fix: coeff construction was broken in walk.cc
add/fix: nfKillChar, ngcKillChar
chg: cleanup of headers & tests
chg: parameter output during "make check"
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/coeffs/gnumpc.h

    rce1f78 r7fee876  
    88* ABSTRACT: computations with GMP floating-point numbers
    99*/
    10 #include <coeffs/coeffs.h>
     10#include <misc/auxiliary.h>
    1111
    12 /// Get a mapping function from src into the domain of this type: long_C!
    13 nMapFunc  ngcSetMap(const coeffs src, const coeffs dst);
     12struct n_Procs_s;
     13typedef struct  n_Procs_s  *coeffs;
    1414
    15 /// Initialize r
     15/// Initialize r (n_long_C)
    1616BOOLEAN ngcInitChar(coeffs r, void*);
    1717
    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 LDEBUG
    50 BOOLEAN  ngcDBTest(number a, const char *f, const int l, const coeffs r);
    51 #endif
    52 
    53 
    54 number ngcMapQ(number from, const coeffs r, const coeffs aRing);
    5518#endif
    5619/* GMPCOMPLEX_H */
Note: See TracChangeset for help on using the changeset viewer.