Changeset 06babc in git
- Timestamp:
- Dec 17, 2008, 4:10:37 PM (14 years ago)
- Branches:
- (u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
- Children:
- c13fbe98a2d05c35998930d431996de46717415f
- Parents:
- 5d68a6461c92be4d1e47a759b7bafae1be5ffb12
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/extra.cc
r5d68a6 r06babc 2 2 * Computer Algebra System SINGULAR * 3 3 *****************************************/ 4 /* $Id: extra.cc,v 1.28 5 2008-11-13 14:06:07 Singular Exp $ */4 /* $Id: extra.cc,v 1.286 2008-12-17 15:10:37 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT: general interface to internals of Singular ("system" command) … … 54 54 #include "prCopy.h" 55 55 #include "mpr_complex.h" 56 #include "ffields.h" // test GF only 56 57 57 58 #ifdef HAVE_RINGS … … 2319 2320 #endif 2320 2321 /*==================== GF =================*/ 2321 #if 0 2322 #if 0 // for testing only 2322 2323 if (strcmp(sys_cmd, "GF") == 0) 2323 2324 { 2324 int c=rChar(currRing); 2325 setCharacteristic( c, 2); 2326 CanonicalForm F( convSingGFClapGF( (poly)h->Data() ) ); 2327 res->rtyp=POLY_CMD; 2328 res->data=convClapGFSingGF( F ); 2329 return FALSE; 2325 if ((h!=NULL) && (h->Typ()==POLY_CMD)) 2326 { 2327 int c=rChar(currRing); 2328 setCharacteristic( c,nfMinPoly[0], currRing->parameter[0][0] ); 2329 CanonicalForm F( convSingGFFactoryGF( (poly)h->Data() ) ); 2330 res->rtyp=POLY_CMD; 2331 res->data=convFactoryGFSingGF( F ); 2332 return FALSE; 2333 } 2334 else { Werror("wrong typ"); return TRUE;} 2330 2335 } 2331 2336 else
Note: See TracChangeset
for help on using the changeset viewer.