solving the invrese of a matrix in c++

 DevX Home Today's Headlines   Articles Archive   Tip Bank   Forums

# Thread: solving the invrese of a matrix in c++

## solving the invrese of a matrix in c++

Please would somebody help me with the inverse of a matrix.Iwill be very happy
to get such a help.Thank you.

2. Randy Charles Morin Guest

## Re: solving the invrese of a matrix in c++

These might help
http://users.erols.com/mdinolfo/matrix.htm
http://www.martinb.com/maths/matrix/...s_code.htm#cpp

--
Randy Charles Morin
http://www.kbcafe.com

Feel free to contact me by private email or messenger
randy@kbcafe.com
morin_randy@hotmail.com

"Aduah" <soakodan@yahoo.com> wrote in message news:3c5eef92\$1@10.1.10.29...
>
> Please would somebody help me with the inverse of a matrix.Iwill be very happy
> to get such a help.Thank you.

3. linda Guest

## Re: solving the invrese of a matrix in c++

hi:
mayby the following is what you want:

main()
{
int a[3][3]={{11,12,13},{21,22,23},{31,32,33}};
int b[3][3];
int i,j;
printf("this is a \n");
for(i=0;i<3;i++)
{
for(j=0;j<3;j++)
{ printf(" %d",a[i][j]);
b[j][i]=a[i][j];
}
printf("\n");
}
printf("this is inverse of a \n");
for(i=0;i<3;i++)
{
for(j=0;j<3;j++)
printf(" %d",b[i][j]);

printf("\n");
}

}

may this help!
linda

>
>Please would somebody help me with the inverse of a matrix.Iwill be very

happy
>to get such a help.Thank you.

4. jonnin Guest

## Re: solving the invrese of a matrix in c++

Email me and I will send you code for it. Anyone else as well...

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•

 FAQ Latest Articles Java .NET XML Database Enterprise