Changeset 6807f0 in git for kernel/ncSAMult.h


Ignore:
Timestamp:
Jul 20, 2008, 12:00:14 PM (16 years ago)
Author:
Motsak Oleksandr <motsak@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
3de9a92f5b2bf7d55b4665d9ec172acda64e8655
Parents:
3df50eae2081325a44f9cc7de42863f9acab9175
Message:
*motsak: more special cases


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

Legend:

Unmodified
Added
Removed
  • kernel/ncSAMult.h

    r3df50ea r6807f0  
    44 *  Computer Algebra System SINGULAR     *
    55 *****************************************/
    6 /* $Id: ncSAMult.h,v 1.5 2008-07-18 17:12:37 motsak Exp $ */
     6/* $Id: ncSAMult.h,v 1.6 2008-07-20 10:00:14 motsak Exp $ */
    77#ifdef HAVE_PLURAL
    88
     
    177177    virtual poly MultiplyEM(const CExponent expLeft, const poly pMonom);
    178178
    179 };
    180 
    181 
    182 class CCommutativeSpecialPairMultiplier: public CSpecialPairMultiplier
    183 {
    184   public:
    185     CCommutativeSpecialPairMultiplier(ring r, int i, int j);
    186     virtual ~CCommutativeSpecialPairMultiplier();
    187    
    188     // Exponent * Exponent
    189     virtual poly MultiplyEE(const int expLeft, const int expRight);   
    190179};
    191180
     
    300289
    301290
     291//////////////////////////////////////////////////////////////////////////
     292class CCommutativeSpecialPairMultiplier: public CSpecialPairMultiplier
     293{
     294        public:
     295                CCommutativeSpecialPairMultiplier(ring r, int i, int j);
     296                virtual ~CCommutativeSpecialPairMultiplier();
     297
     298                // Exponent * Exponent
     299                virtual poly MultiplyEE(const int expLeft, const int expRight);   
     300};
     301
     302//////////////////////////////////////////////////////////////////////////
     303class CAntiCommutativeSpecialPairMultiplier: public CSpecialPairMultiplier
     304{
     305        public:
     306                CAntiCommutativeSpecialPairMultiplier(ring r, int i, int j);
     307                virtual ~CAntiCommutativeSpecialPairMultiplier();
     308
     309                // Exponent * Exponent
     310                virtual poly MultiplyEE(const int expLeft, const int expRight);   
     311};
     312
     313
     314//////////////////////////////////////////////////////////////////////////
     315class CQuasiCommutativeSpecialPairMultiplier: public CSpecialPairMultiplier
     316{
     317        private:
     318                const number m_q;
     319                // TODO: make cache for some 'good' powers!?
     320
     321  public:
     322                CQuasiCommutativeSpecialPairMultiplier(ring r, int i, int j, number q);
     323                virtual ~CQuasiCommutativeSpecialPairMultiplier();
     324
     325                number GetPower(int power);
     326
     327                // Exponent * Exponent
     328                virtual poly MultiplyEE(const int expLeft, const int expRight);   
     329};
     330
     331
    302332#endif // HAVE_PLURAL :(
    303333#endif //
Note: See TracChangeset for help on using the changeset viewer.