24#ifndef GINAC_REMEMBER_H
25#define GINAC_REMEMBER_H
Lightweight wrapper for GiNaC's symbolic objects.
The class function is used to implement builtin functions like sin, cos... and user defined functions...
A single entry in the remember table of a function.
unsigned long get_last_access() const
bool is_equal(function const &f) const
unsigned long get_successful_hits() const
remember_table_entry(function const &f, ex const &r)
unsigned long last_access
static unsigned long access_counter
A list of entries in the remember table having some least significant bits of the hashvalue in common...
unsigned remember_strategy
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
The remember table is organized like an n-fold associative cache in a microprocessor.
static std::vector< remember_table > & remember_tables()
void show_statistics(std::ostream &os, unsigned level) const
void add_entry(function const &f, ex const &result)
unsigned remember_strategy
bool lookup_entry(function const &f, ex &result) const
std::vector< ex > exvector