Changeset 03cecc2 in git for kernel/ncSAMult.h


Ignore:
Timestamp:
Jul 21, 2008, 2:05:09 AM (16 years ago)
Author:
Motsak Oleksandr <motsak@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
0f45cb101fd0e64cedcff7e973df7887d7309ef3
Parents:
3664c9a4658b988592307af056a6e32424daa892
Message:
*motsak: done: main special casescvs update!


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

Legend:

Unmodified
Added
Removed
  • kernel/ncSAMult.h

    r3664c9a r03cecc2  
    44 *  Computer Algebra System SINGULAR     *
    55 *****************************************/
    6 /* $Id: ncSAMult.h,v 1.6 2008-07-20 10:00:14 motsak Exp $ */
     6/* $Id: ncSAMult.h,v 1.7 2008-07-21 00:05:09 motsak Exp $ */
    77#ifdef HAVE_PLURAL
    88
     
    150150    int m_j;
    151151
    152     poly m_c_ij;
    153     poly m_d_ij;
     152//    poly m_c_ij;
     153//    poly m_d_ij;
    154154   
    155155   
     
    159159    virtual ~CSpecialPairMultiplier();
    160160
    161     inline int GetI() const { return m_i; }
    162     inline int GetJ() const { return m_j; }
     161    inline int GetI() const { return m_i; } // X
     162    inline int GetJ() const { return m_j; } // Y > X!
    163163
    164164//  protected:
     
    330330
    331331
     332//////////////////////////////////////////////////////////////////////////
     333class CWeylSpecialPairMultiplier: public CSpecialPairMultiplier
     334{
     335  private:
     336    const number m_g;
     337    // TODO: make cache for some 'good' powers!?
     338
     339  public:
     340    CWeylSpecialPairMultiplier(ring r, int i, int j, number g);
     341    virtual ~CWeylSpecialPairMultiplier();
     342
     343    // Exponent * Exponent
     344    virtual poly MultiplyEE(const int expLeft, const int expRight);   
     345};
     346
     347
     348//////////////////////////////////////////////////////////////////////////
     349class CShiftSpecialPairMultiplier: public CSpecialPairMultiplier
     350{
     351  private:   
     352    const number m_shiftCoef;
     353    const int m_shiftVar;
     354    // TODO: make cache for some 'good' powers!?
     355
     356  public:
     357    CShiftSpecialPairMultiplier(ring r, int i, int j, int s, number c);
     358    virtual ~CShiftSpecialPairMultiplier();
     359
     360    // Exponent * Exponent
     361    virtual poly MultiplyEE(const int expLeft, const int expRight);   
     362};
     363
     364
    332365#endif // HAVE_PLURAL :(
    333366#endif //
Note: See TracChangeset for help on using the changeset viewer.