Package Products :: Package ZenRRD :: Module utils :: Class rpnStack |
[hide private]
[frames] | no frames]

# Class rpnStack

source code

    object --+
             |
            rpnStack

Instance Methods | [hide private]
__init__(self, value) | source code
sanitizePop(self) | source code
process(self, count, proc) | source code
polluteProcess(self, count, condition, proc) | source code
dynamicProcess(self, proc) | source code
isSpecial(self, x) | source code
lt(self) | source code
le(self) | source code
gt(self) | source code
ge(self) | source code
eq(self) | source code
ne(self) | source code
un(self) | source code
isInf(self) | source code
if_(self) | source code
min_(self) | source code
max_(self) | source code
limit(self) | source code
mul(self) | source code
div(self) | source code
add(self) | source code
sub(self) | source code
mod(self) | source code
addNaN(self) | source code
sin(self) | source code
cos(self) | source code
log(self) | source code
exp(self) | source code
sqrt(self) | source code
atan(self) | source code
atan2(self) | source code
floor(self) | source code
ceil(self) | source code
deg2rad(self) | source code
rad2deg(self) | source code
abs(self) | source code
sort(self) | source code
rev(self) | source code
avg(self) | source code
unkn(self) | source code
inf(self) | source code
neginf(self) | source code
time_(self) | source code
dup(self) | source code
pop(self) | source code
exc(self) | source code
step(self, op) | source code
result(self) | source code

Class Variables | [hide private]
| NAN = `1e5000-1e5000`
| INF = `1e5000`
| opcodes = `{'LT': lt, 'LE': le, 'GT': gt, 'GE': ge, 'EQ': eq, '`...``

Method Details | [hide private]

### __init__(self, value) (Constructor) | source code
Overrides: object.__init__ (inherited documentation)

Class Variable Details | [hide private]

  ### opcodes Value:
      {'LT': lt, 'LE': le, 'GT': gt, 'GE': ge, 'EQ': eq, 'NE': ne, 'UN': un,
       'ISINF': isInf, 'IF': if_, 'MIN': min_, 'MAX': max_, 'LIMIT': limit,
      '+': add, '-': sub, '*': mul, '/': div, '%': mod, 'ADDNAN': addNaN, 'S
      IN': sin, 'COS': cos, 'LOG': log, 'EXP': exp, 'SQRT': sqrt, 'ATAN': at
      an, 'ATAN2': atan2, 'FLOOR': floor, 'CEIL': ceil, 'DEG2RAD': deg2rad,
      'RAD2DEG': rad2deg, 'ABS': abs, 'SORT': sort, 'REV': rev, 'AVG': avg,
      'UNKN': unkn, 'INF': inf, 'NEGINF': neginf, 'TIME': time_, 'DUP': dup,
       'POP': pop, 'EXC': exc,}