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 123 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 558 of file tgb_internal.h.

559  {
560  value_len=len;
561  value_poly=p;
562  row=NULL;
563  term_index=-1;
564  }
#define NULL
Definition: omList.c:12
int p
Definition: cfModGcd.cc:4019
SparseRow< number_type > * row
Definition: tgb_internal.h:553

◆ DataNoroCacheNode() [2/2]

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

Definition at line 566 of file tgb_internal.h.

567  {
568  if (row!=NULL)
569  value_len=row->len;
570  else
571  value_len=0;
573  this->row=row;
574  term_index=-1;
575  }
#define NULL
Definition: omList.c:12
SparseRow< number_type > * row
Definition: tgb_internal.h:553

◆ ~DataNoroCacheNode()

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

Definition at line 577 of file tgb_internal.h.

578  {
579  //p_Delete(&value_poly,currRing);
580  if (row) delete row;
581  }
SparseRow< number_type > * row
Definition: tgb_internal.h:553

Field Documentation

◆ row

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

Definition at line 553 of file tgb_internal.h.

◆ term_index

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

Definition at line 557 of file tgb_internal.h.

◆ value_len

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

Definition at line 550 of file tgb_internal.h.

◆ value_poly

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

Definition at line 551 of file tgb_internal.h.


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