Changeset 4c6e420 in git for libpolys/coeffs/coeffs.h


Ignore:
Timestamp:
Apr 27, 2011, 4:25:41 PM (13 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
760a78f4333abdcf36c17059f611fa15a34c2dac
Parents:
5c97e10bb44ba586b18c55984cb4187d64f2d618
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-04-27 16:25:41+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 12:31:30+01:00
Message:
ADD: algring to coeffs (for extension fields via polynomials)
FIX: eliminated the use of minpoly/P/params in polynomials (as much as was possible)
ADD: complex numbers need a name for the imaginary root of -1 (use complex_parameter instead of parameter[0])
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/coeffs/coeffs.h

    r5c97e10 r4c6e420  
    3636typedef struct snumber *   number;
    3737
     38struct snumber;
     39typedef struct snumber *   number;
     40
    3841/* standard types */
    3942#ifdef HAVE_RINGS
     
    4144typedef mpz_ptr int_number;
    4245#endif
     46
     47struct ip_sring;
     48typedef struct ip_sring *         ring;
    4349
    4450struct n_Procs_s;
     
    8187   unsigned short *npLogTable;
    8288   #endif
    83    // Zp_a, Q_a
     89
    8490   // ?
    8591   // initialisation:
     
    155161   n_coeffType type;
    156162//-------------------------------------------
    157   char**     parameter; //< names of parameters, rInit
    158   short      P;      //< number of pars, rInit
    159   number     minpoly;  //< for Q_a/Zp_a, rInit
     163
     164  /// For Zp_a, Q_a we need polynomials (due to polys)
     165  ring          algring; //< implementation of extensions needs polynomials...
     166  /// for Q_a/Zp_a, rInit
     167  number     minpoly;  //< make it a number! (needed for ring.cc) must be set by n???InitChar
     168
     169
     170//-------------------------------------------
     171  char* compex_parameter; //< the name of sqrt(-1), i.e. 'i' or 'j' etc...?
    160172
    161173#ifdef HAVE_RINGS
Note: See TracChangeset for help on using the changeset viewer.