My Project
Loading...
Searching...
No Matches
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 699 of file fglmzero.cc.

699 : v( mv ), insertions( 0 ), var( v )
700{
701 monom= m;
702 m= NULL;
703 for ( int k = (currRing->N); k > 0; k-- )
704 if ( pGetExp( monom, k ) > 0 )
705 insertions++;
706 // Wir gehen davon aus, dass ein fglmDelem direkt bei der Erzeugung
707 // auch in eine Liste eingefuegt wird. Daher wird hier automatisch
708 // newDivisor aufgerufen ( v teilt ja m )
709 newDivisor();
710}
int m
Definition: cfEzgcd.cc:128
int k
Definition: cfEzgcd.cc:99
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:12
VAR 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 713 of file fglmzero.cc.

714{
715 if ( monom != NULL )
716 {
718 }
719}
#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:100
#define FALSE
Definition: auxiliary.h:96

◆ 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: