[Numpy-discussion] Another Array

Ian Mallett geometrian@gmail....
Fri Apr 10 01:42:03 CDT 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.scipy.org/pipermail/numpy-discussion/attachments/20090409/e8fea842/attachment.html 

More information about the Numpy-discussion mailing list