Changeset 141342 in git for libpolys/polys/ext_fields


Ignore:
Timestamp:
May 25, 2011, 11:13:13 AM (13 years ago)
Author:
Frank Seelisch <seelisch@…>
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
Children:
f0797cc6a47f909e14515d7d07179ce7dbb9c8b7
Parents:
48a994659e87a54916c1ebffdba59be9375387e4
git-author:
Frank Seelisch <seelisch@mathematik.uni-kl.de>2011-05-25 11:13:13+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 12:36:52+01:00
Message:
nExt replaced by n_algExt and n_transExt
Location:
libpolys/polys/ext_fields
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libpolys/polys/ext_fields/algext.cc

    r48a994 r141342  
    523523nMapFunc naSetMap(const coeffs src, const coeffs dst)
    524524{
    525   /* dst is expected to be an (algebraic) extension field */
    526   assume(getCoeffType(dst) == n_Ext);
     525  /* dst is expected to be an algebraic extension field */
     526  assume(getCoeffType(dst) == n_algExt);
     527 
     528  /* ATTENTION: This code assumes that dst is an algebraic extension of Q
     529                or Zp. So, dst must NOT BE an algebraic extension of some
     530                extension etc. This code will NOT WORK for extension
     531                towers of height >= 2. */
    527532 
    528533  if (nCoeff_is_Q(src) && nCoeff_is_Q_a(dst))
     
    575580  assume(cf->algring->cf                 != NULL);      // algring->cf;
    576581  assume(getCoeffType(cf) == naID);                     // coeff type;
     582 
     583  cf->ch = cf->algring->cf->ch;   /* propagate characteristic up so that it
     584                                     becomes directly accessible in cf */
    577585 
    578586  #ifdef LDEBUG
  • libpolys/polys/ext_fields/algext.h

    r48a994 r141342  
    3737} ExtInfo;
    3838
    39 /// Get a mapping function from src into the domain of this type (n_Ext)
     39/// Get a mapping function from src into the domain of this type (n_algExt)
    4040nMapFunc naSetMap(const coeffs src, const coeffs dst);
    4141
     
    8484
    8585/* our own type */
    86 #define naID n_Ext
     86#define naID n_algExt
    8787
    8888/* polynomial ring in which our numbers live */
Note: See TracChangeset for help on using the changeset viewer.