Macaulay2 » Documentation
Packages » Macaulay2Doc :: IndexedVariableTable
next | previous | forward | backward | up | index | toc

IndexedVariableTable

Description

This class is used as part of the implementation of indexed variables. Objects of this class contain the values of the indexed variables that share the same base.
i1 : p_1 = a

o1 = a

o1 : Symbol
i2 : p_2 = b

o2 = b

o2 : Symbol
i3 : p

o3 = p

o3 : IndexedVariableTable
i4 : peek p

o4 = IndexedVariableTable{1 => a      }
                          2 => b
                          symbol$ => p

See also

Methods that use an indexed variable table :

For the programmer

The object IndexedVariableTable is a type, with ancestor classes MutableHashTable < HashTable < Thing.