Changeset 03f7b5 in git for libpolys/polys/ext_fields
- Timestamp:
- Oct 11, 2011, 7:22:48 PM (13 years ago)
- Branches:
- (u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
- Children:
- 3c56d88ff43b9f485d15dbe25b01664e8e072f04
- Parents:
- 5f4015a4722191e67435fb8503aa693c23375458
- git-author:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-10-11 19:22:48+02:00
- git-committer:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 16:13:59+01:00
- Location:
- libpolys/polys/ext_fields
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/polys/ext_fields/algext.cc
r5f4015a r03f7b5 70 70 #define naMinpoly naRing->minideal->m[0] 71 71 72 73 72 /// forward declarations 74 73 BOOLEAN naGreaterZero(number a, const coeffs cf); … … 97 96 int naSize(number a, const coeffs cf); 98 97 void naDelete(number *a, const coeffs cf); 99 void naCoeffWrite(const coeffs cf );98 void naCoeffWrite(const coeffs cf, BOOLEAN details); 100 99 number naIntDiv(number a, number b, const coeffs cf); 101 100 const char * naRead(const char *s, number *a, const coeffs cf); 101 102 102 static BOOLEAN naCoeffIsEqual(const coeffs cf, n_coeffType n, void * param); 103 103 … … 256 256 } 257 257 258 void naCoeffWrite(const coeffs cf )258 void naCoeffWrite(const coeffs cf, BOOLEAN details) 259 259 { 260 260 assume( cf != NULL ); … … 265 265 assume( A->cf != NULL ); 266 266 267 n_CoeffWrite(A->cf );267 n_CoeffWrite(A->cf, details); 268 268 269 269 // rWrite(A); … … 277 277 Print("%s ", rRingVar(nop, A)); 278 278 279 PrintLn(); 280 279 281 const ideal I = A->minideal; 280 282 … … 282 284 assume( IDELEMS(I) == 1 ); 283 285 284 PrintS("\n// minpoly : ("); p_Write0( I->m[0], A); PrintS(")\n"); 286 287 if ( details ) 288 { 289 PrintS("// minpoly : ("); 290 p_Write0( I->m[0], A); 291 PrintS(")"); 292 } 293 else 294 PrintS("// minpoly : ..."); 295 296 PrintLn(); 285 297 286 298 /* -
libpolys/polys/ext_fields/transext.cc
r5f4015a r03f7b5 118 118 int ntSize(number a, const coeffs cf); 119 119 void ntDelete(number * a, const coeffs cf); 120 void ntCoeffWrite(const coeffs cf );120 void ntCoeffWrite(const coeffs cf, BOOLEAN details); 121 121 number ntIntDiv(number a, number b, const coeffs cf); 122 122 const char * ntRead(const char *s, number *a, const coeffs cf); … … 377 377 } 378 378 379 void ntCoeffWrite(const coeffs cf )379 void ntCoeffWrite(const coeffs cf, BOOLEAN details) 380 380 { 381 381 assume( cf != NULL ); … … 386 386 assume( A->cf != NULL ); 387 387 388 n_CoeffWrite(A->cf );388 n_CoeffWrite(A->cf, details); 389 389 390 390 // rWrite(A); … … 401 401 402 402 PrintS("\n// minpoly : 0\n"); 403 404 403 405 404 /* -
libpolys/polys/ext_fields/transext.h
r5f4015a r03f7b5 125 125 int ntSize(number a, const coeffs cf); 126 126 void ntDelete(number * a, const coeffs cf); 127 void ntCoeffWrite(const coeffs cf );127 void ntCoeffWrite(const coeffs cf, BOOLEAN details); 128 128 number ntIntDiv(number a, number b, const coeffs cf); 129 129 const char * ntRead(const char *s, number *a, const coeffs cf);
Note: See TracChangeset
for help on using the changeset viewer.