[Numpy-discussion] ScientificPython with NumPy

Gary Ruben gruben at bigpond.net.au
Fri Nov 24 23:32:27 CST 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