| Trees | Indices | Help |
|
|---|
|
|
Arithmetic support for "zero-agnostic" numbers.
Example use:
# simple addition test a = Tally(["19"]) b = Tally(["1"]) c = a + b print c.possibilities() # set([110,20]) # simple multiplication test a = Tally(10) c = a * 3 print c.possibilities() # set([120, 210, 30, 1110])
|
|||
|
TallyNum A single "zero agnostic" number, as represented in khipu. |
|||
|
Tally A set of "zero-agnostic" numbers which could represent the sum of several cords in a khipu. |
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0alpha3 on Fri Mar 9 18:36:01 2007 | http://epydoc.sourceforge.net |