Vector, matrix, normalize, rotate. What package?
Paul Rubin
http
Tue Feb 27 18:00:55 EST 2007
"Mattias Brändström" <thebrasse at brasse.org> writes:
> I'm trying to find what package I should use if I want to:
> 1. Create 3d vectors.
> 2. Normalize those vectors.
> 3. Create a 3x3 rotation matrix from a unit 3-d vector and an angle in
> radians.
> 4. Perform matrix multiplication.
If this is a math exercise, just use plain python and code it all by
hand, there's not much to it. You might also like to read about
quaternion multiplication--if you read German, the German Wikipedia
article looks more helpful than the English one about that.
http://de.wikipedia.org/wiki/Quaternion
More information about the Python-list
mailing list