[NOTE: message is a tad long as it discusses multiple possible solutions and
concerns including code.]
The original question was how to do some reasonable translation from
something like the "switch" statement in languages that have it, including C
and R. Other languages use their own variants
Nick Maclaren wrote:
> I can't find any description of these. Most are obvious, but some
> are not. Note that this is from the point of view of IMPLEMENTING
> them, not USING them. Specifically:
The Python equivalents of these methods are described in the
reference manual:
http://docs.python.or
I can't find any description of these. Most are obvious, but some
are not. Note that this is from the point of view of IMPLEMENTING
them, not USING them. Specifically:
Does Python use classic division (nb_divide) and inversion (nb_invert)
or are they entirely historical? Note that I can very