[Numpy-discussion] ScientificPython with NumPy

Gary Ruben gruben at bigpond.net.au
Sat Nov 25 00:32:27 EST 2006


> Hi,
> Just out of curiosity: Can I ask what is special about a
> Geometry.Vector  ? What is the difference to a normal numpy array ?

At the time I wrote my code, it was just a convenient 3-vector class. 
Most of the functionality is now implemented in numpy so if I was to 
rewrite my code, I'd just use a native numpy rank-1 array. Konrad 
defines a couple of methods for using his Vector with his Tensor class, 
so I'd say that might be a reason to use his Vector, otherwise I'd stick 
with arrays.

Gary



More information about the NumPy-Discussion mailing list