My Project
Loading...
Searching...
No Matches
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}
int m
Definition: cfEzgcd.cc:128
FILE * f
Definition: checklibs.c:9
void copy_shallow(spectrumPolyNode *, poly, const Rational &, poly, const ring)
Definition: splist.cc:53
const CanonicalForm & w
Definition: facAbsFact.cc:51
#define R
Definition: sirandom.c:27

◆ ~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}
#define NULL
Definition: omList.c:12
static void p_Delete(poly *p, const ring r)
Definition: p_polys.h:899
Definition: gnumpfl.cc:25

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}
spectrumPolyNode * next
Definition: splist.h:39
Rational weight
Definition: splist.h:41

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