GiNaC 1.8.7
Public Member Functions | Protected Attributes | List of all members
GiNaC::remember_table_list Class Reference

A list of entries in the remember table having some least significant bits of the hashvalue in common. More...

#include <remember.h>

Inheritance diagram for GiNaC::remember_table_list:

Public Member Functions

 remember_table_list (unsigned as, unsigned strat)
 
void add_entry (function const &f, ex const &result)
 
bool lookup_entry (function const &f, ex &result) const
 

Protected Attributes

unsigned max_assoc_size
 
unsigned remember_strategy
 

Detailed Description

A list of entries in the remember table having some least significant bits of the hashvalue in common.

Definition at line 59 of file remember.h.

Constructor & Destructor Documentation

◆ remember_table_list()

GiNaC::remember_table_list::remember_table_list ( unsigned  as,
unsigned  strat 
)

Definition at line 61 of file remember.cpp.

References max_assoc_size, and remember_strategy.

Member Function Documentation

◆ add_entry()

void GiNaC::remember_table_list::add_entry ( function const &  f,
ex const &  result 
)

◆ lookup_entry()

bool GiNaC::remember_table_list::lookup_entry ( function const &  f,
ex result 
) const

Definition at line 122 of file remember.cpp.

Member Data Documentation

◆ max_assoc_size

unsigned GiNaC::remember_table_list::max_assoc_size
protected

Definition at line 65 of file remember.h.

Referenced by add_entry(), and remember_table_list().

◆ remember_strategy

unsigned GiNaC::remember_table_list::remember_strategy
protected

Definition at line 66 of file remember.h.

Referenced by add_entry(), and remember_table_list().


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

This page is part of the GiNaC developer's reference. It was generated automatically by doxygen. For an introduction, see the tutorial.