My Project  UNKNOWN_GIT_VERSION
Public Member Functions | Data Fields
fglmDelem Class Reference

#include <fglm.h>

Public Member Functions

 fglmDelem (poly &m, fglmVector mv, int v)
 The new basis. More...
 
void cleanup ()
 
BOOLEAN isBasisOrEdge () const
 
void newDivisor ()
 

Data Fields

poly monom
 
fglmVector v
 
int insertions
 
int var
 

Detailed Description

Definition at line 46 of file fglm.h.

Constructor & Destructor Documentation

◆ fglmDelem()

fglmDelem::fglmDelem ( poly &  m,
fglmVector  mv,
int  v 
)

The new basis.

Definition at line 701 of file fglmzero.cc.

701  : v( mv ), insertions( 0 ), var( v )
702 {
703  monom= m;
704  m= NULL;
705  for ( int k = (currRing->N); k > 0; k-- )
706  if ( pGetExp( monom, k ) > 0 )
707  insertions++;
708  // Wir gehen davon aus, dass ein fglmDelem direkt bei der Erzeugung
709  // auch in eine Liste eingefuegt wird. Daher wird hier automatisch
710  // newDivisor aufgerufen ( v teilt ja m )
711  newDivisor();
712 }
int m
Definition: cfEzgcd.cc:121
int k
Definition: cfEzgcd.cc:92
int insertions
Definition: fglm.h:51
fglmVector v
Definition: fglm.h:50
poly monom
Definition: fglm.h:49
int var
Definition: fglm.h:52
void newDivisor()
Definition: fglm.h:57
#define NULL
Definition: omList.c:10
ring currRing
Widely used global variable which specifies the current polynomial ring for Singular interpreter and ...
Definition: polys.cc:13
#define pGetExp(p, i)
Exponent.
Definition: polys.h:41

Member Function Documentation

◆ cleanup()

void fglmDelem::cleanup ( )

Definition at line 715 of file fglmzero.cc.

716 {
717  if ( monom != NULL )
718  {
719  pLmDelete(&monom);
720  }
721 }
#define pLmDelete(p)
assume p != NULL, deletes Lm(p)->coef and Lm(p)
Definition: polys.h:76

◆ isBasisOrEdge()

BOOLEAN fglmDelem::isBasisOrEdge ( ) const
inline

Definition at line 56 of file fglm.h.

56 { return ( (insertions == 0) ? TRUE : FALSE ); }
#define TRUE
Definition: auxiliary.h:98
#define FALSE
Definition: auxiliary.h:94

◆ newDivisor()

void fglmDelem::newDivisor ( )
inline

Definition at line 57 of file fglm.h.

57 { insertions--; }

Field Documentation

◆ insertions

int fglmDelem::insertions

Definition at line 51 of file fglm.h.

◆ monom

poly fglmDelem::monom

Definition at line 49 of file fglm.h.

◆ v

fglmVector fglmDelem::v

Definition at line 50 of file fglm.h.

◆ var

int fglmDelem::var

Definition at line 52 of file fglm.h.


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