Wrapping classes

Jeremy Sanders jeremy+complangpython at jeremysanders.net
Fri Sep 23 15:10:05 CEST 2005

Colin J. Williams wrote:

> Could you not have functions a and b each of which returns a NumArray
> instance?
> Your expression would then be something like a(..)+2*b(..).

The user enters the expression (yes - I'm aware of the possible security
issues), as it is a scientific application. I don't think they'd like to
put () after each variable name.

I could always munge the expression after the user enters it, of course.


Jeremy Sanders

More information about the Python-list mailing list