[ODE] how to use the type dMatrix3

David Whittaker david at csworkbench.com
Sat Apr 26 10:56:01 2003


dMatrix3 is defined as dReal[12].  So to access column 3, row 1, you would
ask for [3*4+1], or [col*4+row] in general.  Why the strangeness?  It's a
3x3 matrix with SIMD padding, so it needs to have rows of length 4.

Hope that helps,
David

> Hi,
> Does somebody know hot to use the type: dMatrix3?
> Is it used as matrix or a vector?
> If I want for example to get to cel (3,1) how do I do it?
>
> Thank you
> Koby
>