My Project
Loading...
Searching...
No Matches
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 528 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 540 of file tgb_internal.h.

541 {
542 value_len=len;
544 row=NULL;
545 term_index=-1;
546 }
int p
Definition: cfModGcd.cc:4078
SparseRow< number_type > * row
Definition: tgb_internal.h:535
#define NULL
Definition: omList.c:12

◆ DataNoroCacheNode() [2/2]

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

Definition at line 548 of file tgb_internal.h.

549 {
550 if (row!=NULL)
551 value_len=row->len;
552 else
553 value_len=0;
555 this->row=row;
556 term_index=-1;
557 }

◆ ~DataNoroCacheNode()

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

Definition at line 559 of file tgb_internal.h.

560 {
561 //p_Delete(&value_poly,currRing);
562 if (row) delete row;
563 }

Field Documentation

◆ row

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

Definition at line 535 of file tgb_internal.h.

◆ term_index

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

Definition at line 539 of file tgb_internal.h.

◆ value_len

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

Definition at line 532 of file tgb_internal.h.

◆ value_poly

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

Definition at line 533 of file tgb_internal.h.


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