Syslock

07-21-2002, 06:52 PM

Is matrix multiplication dependent on whether the coordinate system

is LH or RH?

In other words, I would be using row vectors for a LH system, and

column vectors for a RH system.

Take this example:

for( INT i=0; i < 4; i++ )

for( INT j=0; j < 4; j++ )

for( INT k=0; k < 4; k++ )

M(i, j) += A(i, k) * B(k, j);

Can this function be used for both types of systems?

I'm just trying to track down some problems am I having with my math library.

[This message has been edited by Syslock (edited 07-21-2002).]

is LH or RH?

In other words, I would be using row vectors for a LH system, and

column vectors for a RH system.

Take this example:

for( INT i=0; i < 4; i++ )

for( INT j=0; j < 4; j++ )

for( INT k=0; k < 4; k++ )

M(i, j) += A(i, k) * B(k, j);

Can this function be used for both types of systems?

I'm just trying to track down some problems am I having with my math library.

[This message has been edited by Syslock (edited 07-21-2002).]