My Project
Public Member Functions | Data Fields
DataNoroCacheNode< number_type > Class Template Reference

#include <tgb_internal.h>

Public Member Functions

 DataNoroCacheNode (poly p, int len)
 
 DataNoroCacheNode (SparseRow< number_type > *row)
 
 ~DataNoroCacheNode ()
 
- Public Member Functions inherited from NoroCacheNode
 NoroCacheNode ()
 
NoroCacheNodesetNode (int branch, NoroCacheNode *node)
 
NoroCacheNodegetBranch (int branch)
 
virtual ~NoroCacheNode ()
 
NoroCacheNodegetOrInsertBranch (int branch)
 

Data Fields

int value_len
 
poly value_poly
 
SparseRow< number_type > * row
 
int term_index
 
- Data Fields inherited from NoroCacheNode
NoroCacheNode ** branches
 
int branches_len
 

Detailed Description

template<class number_type>
class DataNoroCacheNode< number_type >

Definition at line 532 of file tgb_internal.h.

Constructor & Destructor Documentation

◆ DataNoroCacheNode() [1/2]

template<class number_type >
DataNoroCacheNode< number_type >::DataNoroCacheNode ( poly  p,
int  len 
)
inline

Definition at line 544 of file tgb_internal.h.

545 {
546 value_len=len;
548 row=NULL;
549 term_index=-1;
550 }
#define NULL
Definition: auxiliary.h:104
int p
Definition: cfModGcd.cc:4080
SparseRow< number_type > * row
Definition: tgb_internal.h:539

◆ DataNoroCacheNode() [2/2]

template<class number_type >
DataNoroCacheNode< number_type >::DataNoroCacheNode ( SparseRow< number_type > *  row)
inline

Definition at line 552 of file tgb_internal.h.

553 {
554 if (row!=NULL)
555 value_len=row->len;
556 else
557 value_len=0;
559 this->row=row;
560 term_index=-1;
561 }

◆ ~DataNoroCacheNode()

template<class number_type >
DataNoroCacheNode< number_type >::~DataNoroCacheNode ( )
inline

Definition at line 563 of file tgb_internal.h.

564 {
565 //p_Delete(&value_poly,currRing);
566 if (row) delete row;
567 }

Field Documentation

◆ row

template<class number_type >
SparseRow<number_type>* DataNoroCacheNode< number_type >::row

Definition at line 539 of file tgb_internal.h.

◆ term_index

template<class number_type >
int DataNoroCacheNode< number_type >::term_index

Definition at line 543 of file tgb_internal.h.

◆ value_len

template<class number_type >
int DataNoroCacheNode< number_type >::value_len

Definition at line 536 of file tgb_internal.h.

◆ value_poly

template<class number_type >
poly DataNoroCacheNode< number_type >::value_poly

Definition at line 537 of file tgb_internal.h.


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