My Project
Loading...
Searching...
No Matches
Data Structures | Functions
ncSAMult.h File Reference
#include "misc/options.h"
#include "polys/monomials/ring.h"
#include "polys/nc/summator.h"
#include "reporter/reporter.h"
#include "polys/monomials/p_polys.h"
#include "polys/operations/p_Mult_q.h"
#include "polys/nc/ncSAFormula.h"

Go to the source code of this file.

Data Structures

class  CMultiplier< CExponent >
 
class  CSpecialPairMultiplier
 
struct  CPower
 
class  CPowerMultiplier
 
class  CGlobalMultiplier
 
class  CCommutativeSpecialPairMultiplier
 
class  CAntiCommutativeSpecialPairMultiplier
 
class  CQuasiCommutativeSpecialPairMultiplier
 
class  CWeylSpecialPairMultiplier
 
class  CHWeylSpecialPairMultiplier
 
class  CShiftSpecialPairMultiplier
 
class  CExternalSpecialPairMultiplier
 

Functions

BOOLEAN ncInitSpecialPairMultiplication (ring r)
 

Function Documentation

◆ ncInitSpecialPairMultiplication()

BOOLEAN ncInitSpecialPairMultiplication ( ring  r)

Definition at line 266 of file ncSAMult.cc.

267{
268#if OUTPUT
269 PrintS("ncInitSpecialPairMultiplication(ring), ring: \n");
270 rWrite(r, TRUE);
271 PrintLn();
272#endif
273
274 if(!rIsPluralRing(r))// ; // :(((
275 return TRUE;
276
277 if(rIsSCA(r))
278 return TRUE;
279
280 if( r->GetNC()->GetGlobalMultiplier() != NULL )
281 {
282 WarnS("Already defined!");
283 return TRUE;
284 }
285
286 r->GetNC()->GetGlobalMultiplier() = new CGlobalMultiplier(r);
287
288 ggnc_p_ProcsSet(r, r->p_Procs);
289 return FALSE; // ok!
290}
#define TRUE
Definition: auxiliary.h:100
#define FALSE
Definition: auxiliary.h:96
#define WarnS
Definition: emacs.cc:78
static bool rIsSCA(const ring r)
Definition: nc.h:190
#define NULL
Definition: omList.c:12
void PrintS(const char *s)
Definition: reporter.cc:284
void PrintLn()
Definition: reporter.cc:310
void rWrite(ring r, BOOLEAN details)
Definition: ring.cc:226
static BOOLEAN rIsPluralRing(const ring r)
we must always have this test!
Definition: ring.h:400