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 122 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 554 of file tgb_internal.h.

555  {
556  value_len=len;
557  value_poly=p;
558  row=NULL;
559  term_index=-1;
560  }
#define NULL
Definition: omList.c:10
int p
Definition: cfModGcd.cc:4019
SparseRow< number_type > * row
Definition: tgb_internal.h:549

◆ DataNoroCacheNode() [2/2]

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

Definition at line 562 of file tgb_internal.h.

563  {
564  if (row!=NULL)
565  value_len=row->len;
566  else
567  value_len=0;
569  this->row=row;
570  term_index=-1;
571  }
#define NULL
Definition: omList.c:10
SparseRow< number_type > * row
Definition: tgb_internal.h:549

◆ ~DataNoroCacheNode()

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

Definition at line 573 of file tgb_internal.h.

574  {
575  //p_Delete(&value_poly,currRing);
576  if (row) delete row;
577  }
SparseRow< number_type > * row
Definition: tgb_internal.h:549

Field Documentation

◆ row

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

Definition at line 549 of file tgb_internal.h.

◆ term_index

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

Definition at line 553 of file tgb_internal.h.

◆ value_len

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

Definition at line 546 of file tgb_internal.h.

◆ value_poly

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

Definition at line 547 of file tgb_internal.h.


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