Changeset 141342 in git for libpolys/polys/ext_fields
- Timestamp:
- May 25, 2011, 11:13:13 AM (13 years ago)
- 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
- Location:
- libpolys/polys/ext_fields
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/polys/ext_fields/algext.cc
r48a994 r141342 523 523 nMapFunc naSetMap(const coeffs src, const coeffs dst) 524 524 { 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. */ 527 532 528 533 if (nCoeff_is_Q(src) && nCoeff_is_Q_a(dst)) … … 575 580 assume(cf->algring->cf != NULL); // algring->cf; 576 581 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 */ 577 585 578 586 #ifdef LDEBUG -
libpolys/polys/ext_fields/algext.h
r48a994 r141342 37 37 } ExtInfo; 38 38 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) 40 40 nMapFunc naSetMap(const coeffs src, const coeffs dst); 41 41 … … 84 84 85 85 /* our own type */ 86 #define naID n_ Ext86 #define naID n_algExt 87 87 88 88 /* polynomial ring in which our numbers live */
Note: See TracChangeset
for help on using the changeset viewer.