Changeset 6807f0 in git for kernel/ncSAMult.h
- Timestamp:
- Jul 20, 2008, 12:00:14 PM (16 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 3de9a92f5b2bf7d55b4665d9ec172acda64e8655
- Parents:
- 3df50eae2081325a44f9cc7de42863f9acab9175
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/ncSAMult.h
r3df50ea r6807f0 4 4 * Computer Algebra System SINGULAR * 5 5 *****************************************/ 6 /* $Id: ncSAMult.h,v 1. 5 2008-07-18 17:12:37motsak Exp $ */6 /* $Id: ncSAMult.h,v 1.6 2008-07-20 10:00:14 motsak Exp $ */ 7 7 #ifdef HAVE_PLURAL 8 8 … … 177 177 virtual poly MultiplyEM(const CExponent expLeft, const poly pMonom); 178 178 179 };180 181 182 class CCommutativeSpecialPairMultiplier: public CSpecialPairMultiplier183 {184 public:185 CCommutativeSpecialPairMultiplier(ring r, int i, int j);186 virtual ~CCommutativeSpecialPairMultiplier();187 188 // Exponent * Exponent189 virtual poly MultiplyEE(const int expLeft, const int expRight);190 179 }; 191 180 … … 300 289 301 290 291 ////////////////////////////////////////////////////////////////////////// 292 class 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 ////////////////////////////////////////////////////////////////////////// 303 class 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 ////////////////////////////////////////////////////////////////////////// 315 class 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 302 332 #endif // HAVE_PLURAL :( 303 333 #endif //
Note: See TracChangeset
for help on using the changeset viewer.