Next: , Previous: Non-commutative objects, Up: Basic concepts


4.16 Hash Maps

For your convenience, GiNaC offers the container template exhashmap<T> that can be used as a drop-in replacement for the STL std::map<ex, T, ex_is_less>, using hash tables to provide faster, typically constant-time, element look-up than map<>.

exhashmap<> supports all map<> members and operations, with the following differences: