Hi Alan, sorry, for answering so late - your message slipped through ...
On Fri, 30 Jun 2006, Alan Isaac wrote: > On Fri, 30 Jun 2006, T) Arnd Baecker wrote: > > I am wondering a bit about the the behaviour of logspace: > > http://www.mathworks.com/access/helpdesk/help/techdoc/ref/logspace.html > > fwiw, Alright, if one wants to keep compatibility with matlab, the behaviour of logspace should be unchanged. I'd suggest that something along def logspace(start,stop,num=50,endpoint=True,base=10.0): """Evenly spaced numbers on a logarithmic scale. Return 'int(num)' evenly spaced samples on a logarithmic scale from 'base'**'start' to 'base'**'stop'. If 'endpoint' is True, the last sample is 'base'**'stop'.""" is clearer than the present one Docstring: Evenly spaced numbers on a logarithmic scale. Computes int(num) evenly spaced exponents from start to stop. If endpoint=True, then last exponent is stop. Returns base**exponents. (Note that I am not a native speaker - surprise - ; so maybe the present one is already clear enough?) Best, Arnd ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Numpy-discussion mailing list Numpy-discussion@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/numpy-discussion