My Project
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes
CWeylSpecialPairMultiplier Class Reference

#include <ncSAMult.h>

Public Member Functions

 CWeylSpecialPairMultiplier (ring r, int i, int j, number g)
 
virtual ~CWeylSpecialPairMultiplier ()
 
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
 

Private Attributes

const number m_g
 

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 539 of file ncSAMult.h.

Constructor & Destructor Documentation

◆ CWeylSpecialPairMultiplier()

CWeylSpecialPairMultiplier::CWeylSpecialPairMultiplier ( ring  r,
int  i,
int  j,
number  g 
)

Definition at line 621 of file ncSAMult.cc.

621 :
623{
624#if OUTPUT
625 Print("CWeylSpecialPairMultiplier::CWeylSpecialPairMultiplier(ring, i: %d, j: %d, g)!", i, j);
626 PrintLn();
627 PrintS("Parameter g: ");
628 n_Write(g, r);
629#endif
630}
int i
Definition: cfEzgcd.cc:132
g
Definition: cfModGcd.cc:4090
static FORCE_INLINE void n_Write(number n, const coeffs r, const BOOLEAN bShortOut=TRUE)
Definition: coeffs.h:588
#define Print
Definition: emacs.cc:80
int j
Definition: facHensel.cc:110
void PrintS(const char *s)
Definition: reporter.cc:284
void PrintLn()
Definition: reporter.cc:310

◆ ~CWeylSpecialPairMultiplier()

CWeylSpecialPairMultiplier::~CWeylSpecialPairMultiplier ( )
virtual

Definition at line 633 of file ncSAMult.cc.

634{
635#if OUTPUT
636 PrintS("CWeylSpecialPairMultiplier::~CWeylSpecialPairMultiplier()");
637 PrintLn();
638#endif
639}

Member Function Documentation

◆ MultiplyEE()

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

Implements CSpecialPairMultiplier.

Definition at line 642 of file ncSAMult.cc.

643{
644#if OUTPUT
645 Print("CWeylSpecialPairMultiplier::MultiplyEE(var(%d)^{%d}, var(%d)^{%d})!", GetJ(), expLeft, GetI(), expRight);
646 PrintLn();
647#endif
648 // Char == 0, otherwise - problem!
649
650
651 const ring r = GetBasering();
652
653 assume( expLeft*expRight > 0 );
654
655 return CFormulaPowerMultiplier::ncSA_1xy0x0yG(GetI(), GetJ(), expRight, expLeft, m_g, r);
656}
static poly ncSA_1xy0x0yG(const int i, const int j, const int n, const int m, const number m_g, const ring r)
Definition: ncSAFormula.cc:730
ring GetBasering() const
Definition: ncSAMult.h:35
int GetI() const
Definition: ncSAMult.h:108
int GetJ() const
Definition: ncSAMult.h:109
#define assume(x)
Definition: mod2.h:389

Field Documentation

◆ m_g

const number CWeylSpecialPairMultiplier::m_g
private

Definition at line 542 of file ncSAMult.h.


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