Changeset 052e4f in git
- Timestamp:
- May 5, 2008, 4:54:29 PM (16 years ago)
- Branches:
- (u'spielwiese', '873fc1222e995d7cb33f79d8f1792ce418c8c72c')
- Children:
- 039f1525452ab6cef5023eacbe02e7c220e25afb
- Parents:
- 751bfd1896248f7cbfab7d7920a96d580dda7f3f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libfac/factor/SqrFree.cc
r751bfd r052e4f 2 2 /////////////////////////////////////////////////////////////////////////////// 3 3 // emacs edit mode for this file is -*- C++ -*- 4 /* $Id: SqrFree.cc,v 1.1 8 2008-04-08 16:19:10Singular Exp $ */4 /* $Id: SqrFree.cc,v 1.19 2008-05-05 14:54:29 Singular Exp $ */ 5 5 static const char * errmsg = "\nYou found a bug!\nPlease inform singular@mathematik.uni-kl.de\n Please include above information and your input (the ideal/polynomial and characteristic) in your bug-report.\nThank you."; 6 6 /////////////////////////////////////////////////////////////////////////////// … … 367 367 { 368 368 CanonicalForm g=icontent(r), f = r; 369 CFFList Outputlist, Outputlist2 ;369 CFFList Outputlist, Outputlist2,tmpOutputlist; 370 370 371 371 DEBINCLEVEL(CERR, "SqrFreeMV"); … … 387 387 { 388 388 if (!mipo.isZero()) 389 { 390 #if 1 391 Variable alpha=rootOf(mipo); 392 CanonicalForm ff=swapvar(f,mipo.mvar(),alpha); 393 tmpOutputlist=SqrFreeMV(ff,0); 394 ff=swapvar(f,alpha,mipo.mvar()); 395 for ( CFFListIterator i=tmpOutputlist; i.hasItem(); i++ ) 396 { 397 ff=i.getItem().factor(); 398 ff /= ff.Lc(); 399 ff=swapvar(ff,alpha,mipo.mvar()); 400 Outputlist=myappend(Outputlist,CFFactor(ff,1)); 401 } 402 #else 389 403 Outputlist=myUnion(SqrFreed(f,mipo),Outputlist) ; 404 #endif 405 } 390 406 else 391 407 Outputlist=myUnion(SqrFreed(f),Outputlist) ; … … 439 455 /* 440 456 $Log: not supported by cvs2svn $ 457 Revision 1.18 2008/04/08 16:19:10 Singular 458 *hannes: removed rcsid 459 441 460 Revision 1.17 2008/03/18 17:46:15 Singular 442 461 *hannes: gcc 4.2
Note: See TracChangeset
for help on using the changeset viewer.