[Numpy-discussion] proposal: new logspace without the log in the argument

Alan Isaac alan.isaac at gmail.com
Thu Feb 18 17:19:36 EST 2016


On 2/18/2016 2:44 PM, Robert Kern wrote:
> In a new function not named `linspace()`, I think that might be fine. I do occasionally want to swap between linear and logarithmic/geometric spacing based on a parameter, so this
> doesn't violate the van Rossum Rule of Function Signatures.


Would such a new function correct the apparent mistake (?) of
`linspace` including the endpoint by default?
Or is the current API justified by its Matlab origins?
(Or have I missed the point altogether?)

If this query is annoying, please ignore it.  It is not meant to be.

Alan




More information about the NumPy-Discussion mailing list