[Numpy-discussion] packaging scipy (was Re: Simple financial functions for NumPy)

Alan Isaac aisaac@american....
Fri Apr 4 15:29:03 CDT 2008


On Fri, 04 Apr 2008, Joe Harrington wrote:
> Wouldn't you rather do:
> import numpy as N 
> ... 
> c = (N.sin(b) + N.exp(d)) / N.mean(g)

> rather than:

> import numpy      as N 
> import numpy.math as N.M 
> import numpy.trig as N.T 
> import numpy.stat as N.S 
> ... 
> c = (N.T.sin(b) + N.M.exp(d)) / N.S.mean(g)


I try to think of my students in such an environment.
Frightening.
Alan Isaac





More information about the Numpy-discussion mailing list