Changeset d9edaf in git for libfac/factor/SqrFree.cc
- Timestamp:
- May 14, 2008, 2:38:26 PM (15 years ago)
- Branches:
- (u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
- Children:
- 37d75ad2529983159dcf69a89eba6be075aa734a
- Parents:
- 69fb8d5542e0a6b5c38f18c4c9462982a9f00e03
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libfac/factor/SqrFree.cc
r69fb8d5 rd9edaf 2 2 /////////////////////////////////////////////////////////////////////////////// 3 3 // emacs edit mode for this file is -*- C++ -*- 4 /* $Id: SqrFree.cc,v 1. 19 2008-05-05 14:54:29Singular Exp $ */4 /* $Id: SqrFree.cc,v 1.20 2008-05-14 12:38:26 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 /////////////////////////////////////////////////////////////////////////////// … … 390 390 #if 1 391 391 Variable alpha=rootOf(mipo); 392 CanonicalForm ff= swapvar(f,mipo.mvar(),alpha);392 CanonicalForm ff=replacevar(f,mipo.mvar(),alpha); 393 393 tmpOutputlist=SqrFreeMV(ff,0); 394 ff= swapvar(f,alpha,mipo.mvar());394 ff=replacevar(f,alpha,mipo.mvar()); 395 395 for ( CFFListIterator i=tmpOutputlist; i.hasItem(); i++ ) 396 396 { 397 397 ff=i.getItem().factor(); 398 398 ff /= ff.Lc(); 399 ff= swapvar(ff,alpha,mipo.mvar());399 ff=replacevar(ff,alpha,mipo.mvar()); 400 400 Outputlist=myappend(Outputlist,CFFactor(ff,1)); 401 401 } … … 455 455 /* 456 456 $Log: not supported by cvs2svn $ 457 Revision 1.19 2008/05/05 14:54:29 Singular 458 *hannes: switch representation and normalize in SqrFreeMV 459 457 460 Revision 1.18 2008/04/08 16:19:10 Singular 458 461 *hannes: removed rcsid
Note: See TracChangeset
for help on using the changeset viewer.