• Advertisement
Sign in to follow this  

Matrix Identity: A*B != B*A but A*B = BT * AT

This topic is 4609 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am looking for a matrix identity. The matrix product is of course not commutative. Do I remember correctly that the following identity holds true for arbitrary matrix products: A*B = Transpose(B) * Transpose(A) I mean we do this all the time when we use row major matrices in DirectX, I just want to be sure. Regards, -Dirk

Share this post


Link to post
Share on other sites
Advertisement
Quote:
Original post by DonDickieD
A*B = Transpose(B) * Transpose(A)


Actually, it is:
A*B = Transpose( Transpose(B)*Transpose(A) )

Why would you want to use DX matrices in the first place, just to not multiply the normal way, meaning predefined DX functions?
/def

Share this post


Link to post
Share on other sites
You are correct. The identy I was looking for was:
Tanspose( A * B ) = Transpose( B ) * Transpose( A )

I am working with the ODE and they used something similiar when
calculating J * W * JT ( Jacobian * inverse Mass * transposed Jacobian ) and
I was not sure what they were actually doing.

Thanks for the help...

-Dirk

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement