solving the invrese of a matrix in c++


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

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

  1. #1
    Aduah Guest

    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.
    michael Aduah,Ghana

  2. #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.
    > michael Aduah,Ghana




  3. #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

    "Aduah" <soakodan@yahoo.com> wrote:
    >
    >Please would somebody help me with the inverse of a matrix.Iwill be very

    happy
    >to get such a help.Thank you.
    > michael Aduah,Ghana



  4. #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
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center