Changeset 8ba25b in git
- Timestamp:
- Mar 2, 2009, 6:04:52 PM (14 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '0604212ebb110535022efecad887940825b97c3f')
- Children:
- c91241ed56b5d5415d9557a8844d82dc4c1bd14a
- Parents:
- 90574dea52c09bb4dcd5979af7acceb6048a560a
- Location:
- kernel
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/kstd1.cc
r90574d r8ba25b 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: kstd1.cc,v 1.4 5 2009-02-27 15:51:28 SingularExp $ */4 /* $Id: kstd1.cc,v 1.46 2009-03-02 17:04:52 motsak Exp $ */ 5 5 /* 6 6 * ABSTRACT: … … 2036 2036 const unsigned int m_iFirstAltVar = scaFirstAltVar(currRing); 2037 2037 const unsigned int m_iLastAltVar = scaLastAltVar(currRing); 2038 pp = id_KillSquares(pp, m_iFirstAltVar, m_iLastAltVar, currRing );2038 pp = id_KillSquares(pp, m_iFirstAltVar, m_iLastAltVar, currRing, false); 2039 2039 2040 2040 if(Q == currQuotient) -
kernel/sca.cc
r90574d r8ba25b 7 7 * Author: motsak (Oleksandr Motsak) 8 8 * Created: 2006/12/18 9 * Version: $Id: sca.cc,v 1.3 2 2009-02-23 13:50:52 SingularExp $9 * Version: $Id: sca.cc,v 1.33 2009-03-02 17:04:52 motsak Exp $ 10 10 *******************************************************************/ 11 11 … … 2700 2700 ideal id_KillSquares(const ideal id, 2701 2701 const unsigned int iFirstAltVar, const unsigned int iLastAltVar, 2702 const ring r )2702 const ring r, const bool bSkipZeroes) 2703 2703 { 2704 2704 if (id == NULL) return id; // zero ideal … … 2730 2730 temp->m[j] = p_KillSquares(id->m[j], iFirstAltVar, iLastAltVar, r); 2731 2731 2732 idSkipZeroes(temp); 2732 if( bSkipZeroes ) 2733 idSkipZeroes(temp); 2733 2734 2734 2735 #if 0 -
kernel/sca.h
r90574d r8ba25b 5 5 * Computer Algebra System SINGULAR * 6 6 ****************************************/ 7 /* $Id: sca.h,v 1.1 4 2008-07-08 11:26:50 SingularExp $ */7 /* $Id: sca.h,v 1.15 2009-03-02 17:04:52 motsak Exp $ */ 8 8 9 9 #include <ring.h> … … 165 165 ideal id_KillSquares(const ideal id, 166 166 const unsigned int iFirstAltVar, const unsigned int iLastAltVar, 167 const ring r );167 const ring r, const bool bSkipZeroes = true); 168 168 169 169 // for benchmarking
Note: See TracChangeset
for help on using the changeset viewer.