Archived

This topic is now archived and is closed to further replies.

matrix ???

This topic is 4955 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

when i read any tutorial about Matrix i see some thing like 4x4 or 3x3 as i think it is array but for what and how i use it with Matrix ??

Share this post


Link to post
Share on other sites
"the matrix is a system, and this system is our enemy"

do you even know what a matrix is?
a matrix is a multivector. the `array`-elements represent the matrix-elements.

Share this post


Link to post
Share on other sites
Here :

When you talk about 4x4=16 or 3x3=9 matrix, in programming you are dealing with multidimensional arrays (sometimes this is not a must)

You can make use of this with multidimensional arrays:

int 4Matrix[4][4] = {0,0,0,0},
{0,0,0,0},
{0,0,0,0},
{0,0,0,0} ---> Total 16 elements


int 3Matrix[3][3] = {0,0,0},
{0,0,0},
{0,0,0} ----> Total 9 elements

bye

Share this post


Link to post
Share on other sites