Numeric question, putting one matrix into another

Jorn Verwey jorn.verwey at psi.ch
Thu Mar 29 05:23:26 EST 2001


Hello,

Using Numeric-arrays I have made a (3x3) rotation-matrix. Now I would like to put this rotation
matrix in a (4x4) transformation matrix. I believe I have to use the put function (the alternative
would be assigning each element of the matrix the proper value), but if so I don't get the indices
set properly. Am I just not bright enought  or is this the wrong approach?

Regards,

Jorn

--
Jorn Verwey
PSI - Life Sciences WMSA/B14
CH 5232 Villigen PSI
Switzerland
tel. +41 56 310 4246
fax. +41 56 310 3132     -o)
jorn.verwey at psi.ch       /\\
jorn.verwey at bigfoot.com _\_v






More information about the Python-list mailing list