Changeset e9039a7 in git
- Timestamp:
- Sep 27, 2011, 12:41:03 PM (12 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '0604212ebb110535022efecad887940825b97c3f')
- Children:
- 31c731745883c6d2ee7aba0e448c9320087d095a
- Parents:
- 37e36e946ee174d951bb2e0fbae1283480ace5f6
- git-author:
- Burcin Erocal <burcin@erocal.org>2011-09-27 12:41:03+02:00
- git-committer:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 16:13:36+01:00
- Location:
- libpolys/coeffs
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/coeffs/ffields.cc
r37e36e re9039a7 763 763 //r->cfKillChar=nfKillChar; 764 764 r->cfSetChar= NULL; 765 //r->nCoeffIsEqual=nfCoeffsEqual;765 r->nCoeffIsEqual=nfCoeffIsEqual; 766 766 767 767 r->cfMult = nfMult; … … 864 864 void nfCoeffWrite (const coeffs r) 865 865 { 866 Print("// # ground field : %d\n",r->m_nfCharP); 866 // m_nfCharQ = p^k where p is the characteristic (r->CharP) and k is GFDegree 867 Print("// # ground field : %d\n",r->m_nfCharQ); 867 868 Print("// primitive element : %s\n", r->m_nfParameter); 868 869 StringSetS("// minpoly : "); … … 870 871 } 871 872 873 BOOLEAN nfCoeffIsEqual (const coeffs r, n_coeffType n, void * parameter) 874 { 875 876 if (n==n_GF) { 877 GFInfo* p = (GFInfo *)(parameter); 878 int c = pow (p->GFChar, p->GFDegree); 879 if (c == r->m_nfCharQ) 880 return TRUE; 881 } 882 return FALSE; 883 } -
libpolys/coeffs/ffields.h
r37e36e re9039a7 46 46 #endif 47 47 48 BOOLEAN nfCoeffIsEqual (const coeffs r, n_coeffType n, void * parameter);
Note: See TracChangeset
for help on using the changeset viewer.