[Numpy-discussion] Another Array

Ian Mallett geometrian at gmail.com
Fri Apr 10 02:42:03 EDT 2009


It gives a perfect parabolic shape that looks very nice, but somewhat
unrealistic.  I'd like to scale the unit vectors by a random length (which
can just be a uniform distribution).  I tried scaling the unit vector n*n*3
array by a random n*n array, but that didn't work, obviously.  Help?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20090409/e8fea842/attachment.html>


More information about the NumPy-Discussion mailing list