[Matrix-SIG] returning arrays

Dave Stinchcombe dars@fook.mechanoid.soton.ac.uk
Mon, 8 Mar 1999 15:11:19 +0000

Hi Folks,
it's that time in my work when graphs and charts need to be drawn so I'm
palying with NumPy again. There is one thing I would like to do, but can't
figure out. I would like to write a function which accepts a Numeric.array
as it's argument and returns a Numeric.array, in exactly the kind of way
that Numeric.cos does. Can any one tell me the trick. My function is just a
shortish bit of numerics that requires only one parameter in order to get a