[Numpy-discussion] Iterative Matrix Multiplication

Ian Mallett geometrian@gmail....
Sun Feb 28 18:53:38 CST 2010


Hi,

I have a list of vec3 lists (e.g. [[1,2,3],[4,5,6],[7,8,9],...]). To every
single one of the vec3 sublists, I am currently applying transformations.  I
need to optimize this with numpy.

To get proper results, as far as I can tell, the vec3 lists must be
expressed as vec4s: [[1,2,3],[4,5,6],[7,8,9],...] ->
[[1,2,3,1],[4,5,6,1],[7,8,9,1],...].   Each of these needs to be multiplied
by either a translation matrix, or a rotation and translation matrix.

I don't really know how to approach the problem . . .

Thanks,
Ian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20100228/085d58cb/attachment.html 


More information about the NumPy-Discussion mailing list