matrix multiplication

From: Mario Kadastik <>
Date: Wed, 03 Aug 2005 13:52:08 +0000


is there a way to do the following multiplication in one line?

U . m . U^T

if I try it this way:

then it gets screwed up because U.T() transposes U and then I basically have U^T . m . U^T. However if I try to transpose U again during this task like this:
then I still get the same result as above (which is wrong).

Is there a way to concatenate such multiplications into one line or some way to force the m*=U.T() to not change U in the process?


PS! U,m are 2x2 matrices

Received on Wed Aug 03 2005 - 12:52:19 MEST

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:11 MET