SparseTable(Key, Ent, dent)ΒΆ
table.spad line 169 [edit on github]
- Key: SetCategory 
- Ent: BasicType 
- dent: Ent 
A sparse table has a default entry, which is returned if no other value has been explicitly stored for a key.
- =: (%, %) -> Boolean if Ent has SetCategory or % has finiteAggregate or Record(key: Key, entry: Ent) has SetCategory
- from BasicType 
- ~=: (%, %) -> Boolean if Ent has SetCategory or % has finiteAggregate or Record(key: Key, entry: Ent) has SetCategory
- from BasicType 
- coerce: % -> OutputForm if Record(key: Key, entry: Ent) has CoercibleTo OutputForm or Ent has CoercibleTo OutputForm
- from CoercibleTo OutputForm 
- construct: List Record(key: Key, entry: Ent) -> %
- from Collection Record(key: Key, entry: Ent) 
- convert: % -> InputForm if Record(key: Key, entry: Ent) has ConvertibleTo InputForm
- from ConvertibleTo InputForm 
- count: (Record(key: Key, entry: Ent), %) -> NonNegativeInteger if Record(key: Key, entry: Ent) has BasicType and % has finiteAggregate
- from HomogeneousAggregate Record(key: Key, entry: Ent) 
- dictionary: () -> %
- from DictionaryOperations Record(key: Key, entry: Ent) 
- dictionary: List Record(key: Key, entry: Ent) -> %
- from DictionaryOperations Record(key: Key, entry: Ent) 
- elt: (%, Key) -> Ent
- from Eltable(Key, Ent) 
- elt: (%, Key, Ent) -> Ent
- from EltableAggregate(Key, Ent) 
- entries: % -> List Ent
- from IndexedAggregate(Key, Ent) 
- eval: (%, Ent, Ent) -> % if Ent has Evalable Ent and Ent has SetCategory
- from InnerEvalable(Ent, Ent) 
- eval: (%, Equation Ent) -> % if Ent has Evalable Ent and Ent has SetCategory
- from Evalable Ent 
- eval: (%, Equation Record(key: Key, entry: Ent)) -> % if Record(key: Key, entry: Ent) has Evalable Record(key: Key, entry: Ent) and Record(key: Key, entry: Ent) has SetCategory
- from Evalable Record(key: Key, entry: Ent) 
- eval: (%, List Ent, List Ent) -> % if Ent has Evalable Ent and Ent has SetCategory
- from InnerEvalable(Ent, Ent) 
- eval: (%, List Equation Ent) -> % if Ent has Evalable Ent and Ent has SetCategory
- from Evalable Ent 
- eval: (%, List Equation Record(key: Key, entry: Ent)) -> % if Record(key: Key, entry: Ent) has Evalable Record(key: Key, entry: Ent) and Record(key: Key, entry: Ent) has SetCategory
- from Evalable Record(key: Key, entry: Ent) 
- eval: (%, List Record(key: Key, entry: Ent), List Record(key: Key, entry: Ent)) -> % if Record(key: Key, entry: Ent) has Evalable Record(key: Key, entry: Ent) and Record(key: Key, entry: Ent) has SetCategory
- from InnerEvalable(Record(key: Key, entry: Ent), Record(key: Key, entry: Ent)) 
- eval: (%, Record(key: Key, entry: Ent), Record(key: Key, entry: Ent)) -> % if Record(key: Key, entry: Ent) has Evalable Record(key: Key, entry: Ent) and Record(key: Key, entry: Ent) has SetCategory
- from InnerEvalable(Record(key: Key, entry: Ent), Record(key: Key, entry: Ent)) 
- extract!: % -> Record(key: Key, entry: Ent)
- from BagAggregate Record(key: Key, entry: Ent) 
- fill!: (%, Ent) -> %
- from IndexedAggregate(Key, Ent) 
- find: (Record(key: Key, entry: Ent) -> Boolean, %) -> Union(Record(key: Key, entry: Ent), failed)
- from Collection Record(key: Key, entry: Ent) 
- first: % -> Ent if Key has OrderedSet
- from IndexedAggregate(Key, Ent) 
- index?: (Key, %) -> Boolean
- from IndexedAggregate(Key, Ent) 
- indices: % -> List Key
- from IndexedAggregate(Key, Ent) 
- insert!: (Record(key: Key, entry: Ent), %) -> %
- from BagAggregate Record(key: Key, entry: Ent) 
- inspect: % -> Record(key: Key, entry: Ent)
- from BagAggregate Record(key: Key, entry: Ent) 
- key?: (Key, %) -> Boolean
- from KeyedDictionary(Key, Ent) 
- keys: % -> List Key
- from KeyedDictionary(Key, Ent) 
- latex: % -> String if Record(key: Key, entry: Ent) has SetCategory or Ent has SetCategory
- from SetCategory 
- less?: (%, NonNegativeInteger) -> Boolean
- from Aggregate 
- map!: (Ent -> Ent, %) -> %
- from HomogeneousAggregate Ent 
- map!: (Record(key: Key, entry: Ent) -> Record(key: Key, entry: Ent), %) -> %
- from HomogeneousAggregate Record(key: Key, entry: Ent) 
- map: ((Ent, Ent) -> Ent, %, %) -> %
- from TableAggregate(Key, Ent) 
- map: (Ent -> Ent, %) -> %
- from HomogeneousAggregate Ent 
- map: (Record(key: Key, entry: Ent) -> Record(key: Key, entry: Ent), %) -> %
- from HomogeneousAggregate Record(key: Key, entry: Ent) 
- max: % -> Ent if % has finiteAggregate and Ent has OrderedSet
- from HomogeneousAggregate Ent 
- max: % -> Record(key: Key, entry: Ent) if Record(key: Key, entry: Ent) has OrderedSet and % has finiteAggregate
- from HomogeneousAggregate Record(key: Key, entry: Ent) 
- maxIndex: % -> Key if Key has OrderedSet
- from IndexedAggregate(Key, Ent) 
- member?: (Record(key: Key, entry: Ent), %) -> Boolean if Record(key: Key, entry: Ent) has BasicType and % has finiteAggregate
- from HomogeneousAggregate Record(key: Key, entry: Ent) 
- min: % -> Ent if % has finiteAggregate and Ent has OrderedSet
- from HomogeneousAggregate Ent 
- min: % -> Record(key: Key, entry: Ent) if Record(key: Key, entry: Ent) has OrderedSet and % has finiteAggregate
- from HomogeneousAggregate Record(key: Key, entry: Ent) 
- minIndex: % -> Key if Key has OrderedSet
- from IndexedAggregate(Key, Ent) 
- more?: (%, NonNegativeInteger) -> Boolean
- from Aggregate 
- qelt: (%, Key) -> Ent
- from EltableAggregate(Key, Ent) 
- qsetelt!: (%, Key, Ent) -> Ent
- from EltableAggregate(Key, Ent) 
- reduce: ((Record(key: Key, entry: Ent), Record(key: Key, entry: Ent)) -> Record(key: Key, entry: Ent), %, Record(key: Key, entry: Ent), Record(key: Key, entry: Ent)) -> Record(key: Key, entry: Ent) if Record(key: Key, entry: Ent) has BasicType and % has finiteAggregate
- from Collection Record(key: Key, entry: Ent) 
- remove!: (Key, %) -> Union(Ent, failed)
- from KeyedDictionary(Key, Ent) 
- remove!: (Record(key: Key, entry: Ent), %) -> % if Record(key: Key, entry: Ent) has BasicType and % has finiteAggregate
- from DictionaryOperations Record(key: Key, entry: Ent) 
- remove: (Record(key: Key, entry: Ent), %) -> % if Record(key: Key, entry: Ent) has BasicType and % has finiteAggregate
- from Collection Record(key: Key, entry: Ent) 
- removeDuplicates: % -> % if Record(key: Key, entry: Ent) has BasicType and % has finiteAggregate
- from Collection Record(key: Key, entry: Ent) 
- search: (Key, %) -> Union(Ent, failed)
- from KeyedDictionary(Key, Ent) 
- setelt!: (%, Key, Ent) -> Ent
- from TableAggregate(Key, Ent) 
- size?: (%, NonNegativeInteger) -> Boolean
- from Aggregate 
- swap!: (%, Key, Key) -> Void
- from IndexedAggregate(Key, Ent) 
- table: () -> %
- from TableAggregate(Key, Ent) 
- table: List Record(key: Key, entry: Ent) -> %
- from TableAggregate(Key, Ent) 
BagAggregate Record(key: Key, entry: Ent)
BasicType if % has finiteAggregate or Ent has SetCategory or Record(key: Key, entry: Ent) has SetCategory
CoercibleTo OutputForm if Record(key: Key, entry: Ent) has CoercibleTo OutputForm or Ent has CoercibleTo OutputForm
Collection Record(key: Key, entry: Ent)
ConvertibleTo InputForm if Record(key: Key, entry: Ent) has ConvertibleTo InputForm
Dictionary Record(key: Key, entry: Ent)
DictionaryOperations Record(key: Key, entry: Ent)
Eltable(Key, Ent)
EltableAggregate(Key, Ent)
Evalable Ent if Ent has Evalable Ent and Ent has SetCategory
Evalable Record(key: Key, entry: Ent) if Record(key: Key, entry: Ent) has Evalable Record(key: Key, entry: Ent) and Record(key: Key, entry: Ent) has SetCategory
HomogeneousAggregate Record(key: Key, entry: Ent)
IndexedAggregate(Key, Ent)
InnerEvalable(Ent, Ent) if Ent has Evalable Ent and Ent has SetCategory
InnerEvalable(Record(key: Key, entry: Ent), Record(key: Key, entry: Ent)) if Record(key: Key, entry: Ent) has Evalable Record(key: Key, entry: Ent) and Record(key: Key, entry: Ent) has SetCategory
KeyedDictionary(Key, Ent)
SetCategory if Record(key: Key, entry: Ent) has SetCategory or Ent has SetCategory
TableAggregate(Key, Ent)