My Project  debian-1:4.1.1-p2+ds-4build2
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 }

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

◆ ~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 }

Member Function Documentation

◆ copy_shallow() [1/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 }

◆ copy_shallow() [2/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 }

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

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:
spectrumPolyNode::nf
poly nf
Definition: splist.h:42
f
FILE * f
Definition: checklibs.c:9
spectrumPolyNode::r
ring r
Definition: splist.h:43
spectrumPolyNode::copy_shallow
void copy_shallow(spectrumPolyNode *, poly, const Rational &, poly, const ring)
Definition: splist.cc:53
w
const CanonicalForm & w
Definition: facAbsFact.cc:55
nf
Definition: gnumpfl.cc:27
spectrumPolyNode::next
spectrumPolyNode * next
Definition: splist.h:39
spectrumPolyNode::mon
poly mon
Definition: splist.h:40
spectrumPolyNode::copy_zero
void copy_zero(void)
Definition: splist.cc:40
spectrumPolyNode::weight
Rational weight
Definition: splist.h:41
spectrumPolyNode
Definition: splist.h:35
p_Delete
static void p_Delete(poly *p, const ring r)
Definition: p_polys.h:857
m
int m
Definition: cfEzgcd.cc:121
NULL
#define NULL
Definition: omList.c:10
R
#define R
Definition: sirandom.c:26
Rational
Definition: GMPrat.h:14