Sign in to follow this  
Dirk Gregorius

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

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
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this