[Numpy-discussion] numarray: RandomArray2
jochen at unc.edu
Thu Aug 22 16:29:02 EDT 2002
On Mon, 19 Aug 2002 09:27:35 -0400 Todd Miller wrote:
Todd> Jochen Küpper wrote:
>> Also note the "strange" docstring of range:
>> | range(...)
>> | range([start,] stop[, step]) -> list of integers
>> pointing straight toward its behavior.
Ok, reworked the docstrings of module RandomArray2 a bit in order to
(hopefully) clarify these issues. I have attached a diff, if it is ok
I'll check it in.
>> So well, maybe someone with insight into RNG's can comment on the,
>> mirroring issue?
Todd> It appears to me that the parameter order of randint again
Todd> emulates "range". The fact that random_integers is not
Todd> consistent with randint seem OK to me because random_integers
Todd> appears to have been written expressly to tailor the calling
Todd> sequence of randint.
Put a comment about that in the docstring of random_integers.
University of North Carolina phone: +1-919-962-4403
Department of Chemistry phone: +1-919-962-1579
Venable Hall CB#3290 (Kenan C148) fax: +1-919-843-6041
Chapel Hill, NC 27599, USA GnuPG key: 44BCCD8E
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 17305 bytes
Desc: not available
More information about the NumPy-Discussion