two flies in one hit: working around goto and grid point generation

Stephen Horne steve at ninereeds.fsnet.co.uk
Mon Mar 8 13:53:29 EST 2004


On Mon, 08 Mar 2004 16:28:43 +0100, anton at vredegoor.doge.nl (Anton
Vredegoor) wrote:

>Please tell me if I'm onto something or just
>hallucinating or reinventing the wheel. FWIW it has a lot in common
>with ideas that are used in Numerical Python.

This isn't a brand new approach, but I'm thanking you anyway because I
should be using something very similar to 'unrank' myself but it never
occurred to me.

BTW - this is particularly appropriate in Python due to long integers.
The exponential increase in the sizes of integers needed with the
number of dimensions isn't going to cause a program to fail as soon as
you hit it with real data.

Hope you don't mind me stealing your code ;-)


-- 
Steve Horne

steve at ninereeds dot fsnet dot co dot uk



More information about the Python-list mailing list