Public Member Functions | Data Fields
spectrumPolyNode Class Reference

#include <splist.h>

Public Member Functions

 spectrumPolyNode ()
 
 spectrumPolyNode (spectrumPolyNode *, poly, const Rational &, poly, const ring)
 
 ~spectrumPolyNode ()
 
void copy_zero (void)
 
void copy_shallow (spectrumPolyNode *, poly, const Rational &, poly, const ring)
 
void copy_shallow (spectrumPolyNode &)
 

Data Fields

spectrumPolyNodenext
 
poly mon
 
Rational weight
 
poly nf
 
ring r
 

Detailed Description

Definition at line 35 of file splist.h.

Constructor & Destructor Documentation

§ spectrumPolyNode() [1/2]

spectrumPolyNode::spectrumPolyNode ( )

Definition at line 80 of file splist.cc.

81 {
82  copy_zero( );
83 }
void copy_zero(void)
Definition: splist.cc:40

§ spectrumPolyNode() [2/2]

spectrumPolyNode::spectrumPolyNode ( spectrumPolyNode pnode,
poly  m,
const Rational w,
poly  f,
const ring  R 
)

Definition at line 89 of file splist.cc.

91 {
92  copy_shallow( pnode,m,w,f,R );
93 }
const ring R
Definition: DebugPrint.cc:36
int m
Definition: cfEzgcd.cc:119
FILE * f
Definition: checklibs.c:7
void copy_shallow(spectrumPolyNode *, poly, const Rational &, poly, const ring)
Definition: splist.cc:53

§ ~spectrumPolyNode()

spectrumPolyNode::~spectrumPolyNode ( )

Definition at line 99 of file splist.cc.

100 {
101  if( mon!=NULL ) p_Delete( &mon, r );
102  if( nf !=NULL ) p_Delete( &nf,r );
103  copy_zero( );
104 }
Definition: gnumpfl.cc:57
static void p_Delete(poly *p, const ring r)
Definition: p_polys.h:843
#define NULL
Definition: omList.c:10
void copy_zero(void)
Definition: splist.cc:40

Member Function Documentation

§ copy_shallow() [1/2]

void spectrumPolyNode::copy_shallow ( spectrumPolyNode pnode,
poly  m,
const Rational w,
poly  f,
const ring  R 
)

Definition at line 53 of file splist.cc.

55 {
56  next = pnode;
57  mon = m;
58  weight = w;
59  nf = f;
60  r = R;
61 }
spectrumPolyNode * next
Definition: splist.h:39
Rational weight
Definition: splist.h:41
Definition: gnumpfl.cc:57
const ring R
Definition: DebugPrint.cc:36
int m
Definition: cfEzgcd.cc:119
FILE * f
Definition: checklibs.c:7
const CanonicalForm & w
Definition: facAbsFact.cc:55

§ copy_shallow() [2/2]

void spectrumPolyNode::copy_shallow ( spectrumPolyNode node)

Definition at line 67 of file splist.cc.

68 {
69  next = node.next;
70  mon = node.mon;
71  weight = node.weight;
72  nf = node.nf;
73  r = node.r;
74 }
spectrumPolyNode * next
Definition: splist.h:39
Rational weight
Definition: splist.h:41
Definition: gnumpfl.cc:57

§ copy_zero()

void spectrumPolyNode::copy_zero ( void  )

Definition at line 40 of file splist.cc.

41 {
43  mon = NULL;
44  weight = (Rational)0;
45  nf = NULL;
46  r = NULL;
47 }
spectrumPolyNode * next
Definition: splist.h:39
Rational weight
Definition: splist.h:41
Definition: gnumpfl.cc:57
#define NULL
Definition: omList.c:10

Field Documentation

§ mon

poly spectrumPolyNode::mon

Definition at line 40 of file splist.h.

§ next

spectrumPolyNode* spectrumPolyNode::next

Definition at line 39 of file splist.h.

§ nf

poly spectrumPolyNode::nf

Definition at line 42 of file splist.h.

§ r

ring spectrumPolyNode::r

Definition at line 43 of file splist.h.

§ weight

Rational spectrumPolyNode::weight

Definition at line 41 of file splist.h.


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