Changeset d9edaf in git for libfac


Ignore:
Timestamp:
May 14, 2008, 2:38:26 PM (16 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
37d75ad2529983159dcf69a89eba6be075aa734a
Parents:
69fb8d5542e0a6b5c38f18c4c9462982a9f00e03
Message:
*hannes: swapvar ->replacevar


git-svn-id: file:///usr/local/Singular/svn/trunk@10714 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libfac/factor/SqrFree.cc

    r69fb8d5 rd9edaf  
    22///////////////////////////////////////////////////////////////////////////////
    33// emacs edit mode for this file is -*- C++ -*-
    4 /* $Id: SqrFree.cc,v 1.19 2008-05-05 14:54:29 Singular Exp $ */
     4/* $Id: SqrFree.cc,v 1.20 2008-05-14 12:38:26 Singular Exp $ */
    55static 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.";
    66///////////////////////////////////////////////////////////////////////////////
     
    390390          #if 1
    391391          Variable alpha=rootOf(mipo);
    392           CanonicalForm ff=swapvar(f,mipo.mvar(),alpha);
     392          CanonicalForm ff=replacevar(f,mipo.mvar(),alpha);
    393393          tmpOutputlist=SqrFreeMV(ff,0);
    394           ff=swapvar(f,alpha,mipo.mvar());
     394          ff=replacevar(f,alpha,mipo.mvar());
    395395          for ( CFFListIterator i=tmpOutputlist; i.hasItem(); i++ )
    396396          {
    397397            ff=i.getItem().factor();
    398398            ff /= ff.Lc();
    399             ff=swapvar(ff,alpha,mipo.mvar());
     399            ff=replacevar(ff,alpha,mipo.mvar());
    400400            Outputlist=myappend(Outputlist,CFFactor(ff,1));
    401401          }
     
    455455/*
    456456$Log: not supported by cvs2svn $
     457Revision 1.19  2008/05/05 14:54:29  Singular
     458*hannes: switch representation and normalize in SqrFreeMV
     459
    457460Revision 1.18  2008/04/08 16:19:10  Singular
    458461*hannes: removed rcsid
Note: See TracChangeset for help on using the changeset viewer.