C-extension in Python -- returning results

Bill Tate tatebll at aol.com
Tue Nov 13 07:33:01 EST 2001


deoradh at yahoo.com (Keith Farmer) wrote in message news:<adec2554.0111101700.aa5515b at posting.google.com>...
> "Delaney, Timothy" <tdelaney at avaya.com> wrote in message news:<mailman.1005275653.16513.python-list at python.org>...
> 
> > Don't even think about it ... the braces are *always* there by the time I
> > start writing the enclosed code, properly indented.
> 
> I used to be that way, too.  Hell, I just finished (not long ago)
> converting an atrocious amount of Tcl to J2EE.  You'd think I'd have
> noticed it.
> 
> ... Bless Python ...
> 
> Now to test that the numbers actually match what they should be.

Keith - now that was an interesting problem.  Since you've found the
source of your problem this may be moot but I would definitely second
Jive's suggestion to consider using a neural network for this problem
- I suspect you would find it works pretty well.  As someone who was
trained in classical Newtonian mechanics, I'm reluctant to admit it
but these adaptive techniques (including genetic algorithms) seem to
work pretty well.



More information about the Python-list mailing list