> Care to translate it into English? > > Then translate the English into pseudo-code. And the pseudo-code into > Python. Then, if and only if the Python version is too slow, translate it > into C. And now you are done!
Mathematical English is pseudocode. Related: all theorems are also programs and vice versa. That said, I don't understand the notation either. What's \mathbb{M}? What does it mean ti be "in" some natural number n? (Are you using a set theoretic definition of natural numbers: e.g. x in y iff x <= y ?) Devin On Wed, Nov 30, 2011 at 10:38 AM, Steven D'Aprano <steve+comp.lang.pyt...@pearwood.info> wrote: > On Thu, 01 Dec 2011 02:19:31 +1100, Alec Taylor wrote: > >> Good evening, >> >> I have defined a new numbering structure for certain mathematical >> advantages. >> >> How do I implement this in Python, or would I be better off writing this >> in C or C++? >> >> Ultra concise definition: http://i42.tinypic.com/af7w4h.png > > Care to translate it into English? > > Then translate the English into pseudo-code. And the pseudo-code into > Python. Then, if and only if the Python version is too slow, translate it > into C. And now you are done! > > > > -- > Steven > -- > http://mail.python.org/mailman/listinfo/python-list > -- http://mail.python.org/mailman/listinfo/python-list