Tuesday, September 22, 2015

[ozwyrrly] RPN calculator multiple return values

An RPN calculator can have functions which can straightforwardly return an arbitrarily large number of values, albeit awkwardly serialized onto a linear stack.  This is in contrast to an algebraic or infix calculator.

Fractions, complex numbers, matrices.  Original idea was a magic calculator with + - * / and factor buttons.

Possibly useful as a model of command-line interaction?

No comments :