My Project
Loading...
Searching...
No Matches
Public Member Functions
CCommutativeSpecialPairMultiplier Class Reference

#include <ncSAMult.h>

Public Member Functions

 CCommutativeSpecialPairMultiplier (ring r, int i, int j)
 
virtual ~CCommutativeSpecialPairMultiplier ()
 
virtual poly MultiplyEE (const int expLeft, const int expRight)
 
- Public Member Functions inherited from CSpecialPairMultiplier
 CSpecialPairMultiplier (ring r, int i, int j)
 
virtual ~CSpecialPairMultiplier ()
 
int GetI () const
 
int GetJ () const
 
virtual poly MultiplyEE (const CExponent expLeft, const CExponent expRight)=0
 
virtual poly MultiplyME (const poly pMonom, const CExponent expRight)
 
virtual poly MultiplyEM (const CExponent expLeft, const poly pMonom)
 
- Public Member Functions inherited from CMultiplier< int >
 CMultiplier (ring rBaseRing)
 
virtual ~CMultiplier ()
 
ring GetBasering () const
 
int NVars () const
 
poly LM (const poly pTerm, const ring r, int i=1) const
 
poly MultiplyTE (const poly pTerm, const int expRight)
 
poly MultiplyET (const int expLeft, const poly pTerm)
 
virtual poly MultiplyEE (const int expLeft, const int expRight)=0
 
virtual poly MultiplyME (const poly pMonom, const int expRight)=0
 
virtual poly MultiplyEM (const int expLeft, const poly pMonom)=0
 

Additional Inherited Members

- Public Types inherited from CSpecialPairMultiplier
typedef int CExponent
 
- Protected Attributes inherited from CMultiplier< int >
const ring m_basering
 
const int m_NVars
 

Detailed Description

Definition at line 500 of file ncSAMult.h.

Constructor & Destructor Documentation

◆ CCommutativeSpecialPairMultiplier()

CCommutativeSpecialPairMultiplier::CCommutativeSpecialPairMultiplier ( ring  r,
int  i,
int  j 
)

Definition at line 522 of file ncSAMult.cc.

522 :
524{
525#if OUTPUT
526 Print("CCommutativeSpecialPairMultiplier::CCommutativeSpecialPairMultiplier(ring, i: %d, j: %d)!", i, j);
527 PrintLn();
528#endif
529}
int i
Definition: cfEzgcd.cc:132
#define Print
Definition: emacs.cc:80
int j
Definition: facHensel.cc:110
void PrintLn()
Definition: reporter.cc:310

◆ ~CCommutativeSpecialPairMultiplier()

CCommutativeSpecialPairMultiplier::~CCommutativeSpecialPairMultiplier ( )
virtual

Definition at line 532 of file ncSAMult.cc.

533{
534#if OUTPUT
535 PrintS("CCommutativeSpecialPairMultiplier::~CCommutativeSpecialPairMultiplier()");
536 PrintLn();
537#endif
538}
void PrintS(const char *s)
Definition: reporter.cc:284

Member Function Documentation

◆ MultiplyEE()

poly CCommutativeSpecialPairMultiplier::MultiplyEE ( const int  expLeft,
const int  expRight 
)
virtual

Implements CSpecialPairMultiplier.

Definition at line 541 of file ncSAMult.cc.

542{
543#if OUTPUT
544 Print("CCommutativeSpecialPairMultiplier::MultiplyEE(var(%d)^{%d}, var(%d)^{%d})!", GetJ(), expLeft, GetI(), expRight);
545 PrintLn();
546#endif
547
548 const ring r = GetBasering();
549
550 return CFormulaPowerMultiplier::ncSA_1xy0x0y0(GetI(), GetJ(), expRight, expLeft, r);
551}
static poly ncSA_1xy0x0y0(const int i, const int j, const int n, const int m, const ring r)
Definition: ncSAFormula.cc:715
ring GetBasering() const
Definition: ncSAMult.h:35
int GetI() const
Definition: ncSAMult.h:108
int GetJ() const
Definition: ncSAMult.h:109

The documentation for this class was generated from the following files: