Ignore:
Timestamp:
Apr 28, 2014, 8:50:10 PM (10 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
1a4c34381788487464977b182596acb57f904d2f
Parents:
c814238a3c69aaf59662652396c4843d8c8c52fa
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2014-04-28 20:50:10+02:00
git-committer:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2014-05-07 04:41:47+02:00
Message:
Traverse API redesign + avoid multiplication as far as possible

add/chg: TraverseNF similar to SchreyerSyzygyNF
add/chg: use TraverseTail(mult, int tail_index) everywhere

add: usage of CReducerFinder::FindReducer controlled by NOPRODUCT macro define
add: _p_LmDivisibleByNoComp, CReducerFinder::FindReducer for products

NOTE: needs p_GetShortExpVector for 'products'
File:
1 edited

Legend:

Unmodified
Added
Removed
  • dyn_modules/syzextra/syzextra.h

    rc81423 r1cf13b  
    150150    bool IsNonempty() const { return !m_hash.empty(); }
    151151
     152    poly FindReducer(const poly multiplier, const poly monom, const poly syzterm, const CReducerFinder& checker) const;
     153   
    152154#ifndef NDEBUG
    153155    void DebugPrint() const;
     
    219221    void ComputeLeadingSyzygyTerms(bool bComputeSecondTerms = true);
    220222
    221     poly SchreyerSyzygyNF(poly syz_lead, poly syz_2) const;
    222 
    223     // TODO: store m * @tail -.-^-.-^-.--> ?
     223    poly SchreyerSyzygyNF(const poly syz_lead, poly syz_2 = NULL) const;
     224
     225    poly TraverseTail(poly multiplier, const int tail) const;
     226
     227    // called only from above and from outside (for testing)
    224228    poly TraverseTail(poly multiplier, poly tail) const;
    225229
     
    227231    poly ReduceTerm(poly multiplier, poly term4reduction, poly syztermCheck) const;
    228232
     233    //
     234    poly TraverseNF(const poly syz_lead, const poly syz_2 = NULL) const;
     235   
    229236  public:
    230237    /// just for testing via the wrapper below
Note: See TracChangeset for help on using the changeset viewer.