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 -- Jeremy Sanders http://www.jeremysanders.net/ -- http://mail.python.org/mailman/listinfo/python-list