Vector math

Josiah Carlson jcarlson at nospam.uci.edu
Tue Mar 23 23:35:14 EST 2004


Tyler Eaves wrote:

> I'm look for a module that can do the following operations on vectors
> 
> - Cross product
> - Angle between two vectors
> - rotate a 3d point around an arbitrary axis by an arbitrary amount. 
> 
> Actually, the 3 are related. The net effect of rotating around a cross
> product of two vectors by the angle between them is to essentially realign
> a vector from one coordinate system.
> 

Check numarray:
http://www.stsci.edu/resources/software_hardware/numarray
and Numeric Python:
http://www.pfdubois.com/numpy/

  - Josiah



More information about the Python-list mailing list