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


Ignore:
Timestamp:
Mar 16, 2012, 9:26:19 PM (11 years ago)
Author:
Oleksandr Motsak <motsak@…>
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
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/ffields.h

    rce1f78 r7fee876  
    88* ABSTRACT: finite fields with a none-prime number of elements (via tables)
    99*/
    10 #include <coeffs/coeffs.h>
     10#include <misc/auxiliary.h>
    1111
     12struct n_Procs_s;
     13typedef struct  n_Procs_s  *coeffs;
     14
     15//// Initialize r (n_GF)
    1216BOOLEAN nfInitChar(coeffs r, void*);
    1317
    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!!!
     21void    nfShowMipo(const coeffs r);
     22
    3523#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.