On Tue, Mar 9, 2010 at 2:58 AM, Kolja Kaehler <firstname.lastname@example.org> wrote:
-††††††††† My hope was to avoid having to do my own 3D-vector- and matrix-classes for doing linear algebra, and just use numpyís abilities. It turns out that this is not always so effortless Ė e.g. to multiply a matrix with a vector from the right, I have to make sure itís a column vector. To transform a 3D vector with a 4x4 matrix, I have to append an extra 1.0 element, do the multiplication, and then slice off the 4th element again. Looks like it would be cleaner to write out the whole matrix/vector multiplication by hand.