[Numpy-discussion] Even Sphere Volume

Stéfan van der Walt stefan@sun.ac...
Mon Jul 6 05:18:00 CDT 2009


2009/7/6 Ian Mallett <geometrian@gmail.com>:
> randvecs = numpy.array([x,y,z]).reshape((size,size,3))

Try numpy.array([x, y, z]).T.reshape((size, size, 3))

Regards
Stéfan


More information about the NumPy-Discussion mailing list