Changeset 87beab7 in git for kernel/f5data.cc


Ignore:
Timestamp:
Feb 11, 2009, 10:24:08 PM (15 years ago)
Author:
Christian Eder
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
34fcf813ea36a30ddd0d8107abf9a73b247be289
Parents:
c5d8ddb1112344ad68257ea0c296d5b17aee0433
Message:
lots of stuff debugged, lots of wrong loop terminations improved, still problems with reduction subalgorithms reduction(), topReduction() & findReductor()


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

Legend:

Unmodified
Added
Removed
  • kernel/f5data.cc

    rc5d8dd r87beab7  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: f5data.cc,v 1.4 2009-02-08 19:17:54 ederc Exp $ */
     4/* $Id: f5data.cc,v 1.5 2009-02-11 21:24:07 ederc Exp $ */
    55/*
    66* ABSTRACT: lpolynomial definition
     
    3030================================================================
    3131*/
    32 LPoly::LPoly(poly t,int i,poly p) {
    33     set(t,i,p);
     32LPoly::LPoly(poly t,int i,poly p, Rule* r) {
     33    set(t,i,p,r);
    3434}
    3535
     
    4646}
    4747
     48void LPoly::setRule(Rule* r) {
     49    _rule   =   r;
     50}
     51
    4852poly LPoly::getPoly() {
    4953    return polynomial;
     
    5862}
    5963
    60 void LPoly::set(poly t, int i, poly p) {
     64Rule* LPoly::getRule() {
     65    return _rule;
     66}
     67void LPoly::set(poly t, int i, poly p, Rule* r) {
    6168    this->setTerm(t);
    6269    this->setIndex(i);
    6370    this->setPoly(p);
     71    this->setRule(r);
    6472}
    6573
     
    143151===================================
    144152*/
    145 Rule::Rule(int i, poly t, LPoly* l) {
     153Rule::Rule(int i, poly t) {
    146154    index   =   i;
    147155    term    =   t;
    148     origin  =   l;
    149156}
    150157
     
    156163    return term;
    157164}
    158 
    159 LPoly* Rule::getOrigin() {
    160     return origin;
    161 }
    162 
    163 void Rule::setOrigin(LPoly* l) {
    164     origin  =   l;
    165 }
    166165#endif
Note: See TracChangeset for help on using the changeset viewer.