Macaulay2 » Documentation
Packages » Macaulay2Doc » The Macaulay2 language » hash tables » MutableHashTable » 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:

  • baseName(IndexedVariableTable) -- see baseName -- the base name of a generator
  • IndexedVariableTable _ Thing
  • IndexedVariableTable _ Thing = Thing

For the programmer

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


The source of this document is in Macaulay2Doc/doc_rings.m2:296:0.