inverse of 6x6 matrix

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ajeetbaraskar
    New Member
    • Dec 2006
    • 4

    inverse of 6x6 matrix

    can any one send me the codining for finding out inverse of a 6x6 matrix
  • DeMan
    Top Contributor
    • Nov 2006
    • 1799

    #2
    Feel free to post some progress you have made on the problem.
    Please include where your difficulty lies.
    If you wish to find the formula to find the inverse (as opposed to a c program that works this out) I suggest you try a Math forum (Dr Math (search for him online) is pretty good in my experience)

    Comment

    • r035198x
      MVP
      • Sep 2006
      • 13225

      #3
      Originally posted by ajeetbaraskar
      can any one send me the codining for finding out inverse of a 6x6 matrix
      Yeah you'd learn best by getting help to do it yourself

      Comment

      • ajeetbaraskar
        New Member
        • Dec 2006
        • 4

        #4
        actually i need mathematical formulation which is used for finding inverse of matrix
        minimum of 6x6 order

        Comment

        • r035198x
          MVP
          • Sep 2006
          • 13225

          #5
          Originally posted by ajeetbaraskar
          actually i need mathematical formulation which is used for finding inverse of matrix
          minimum of 6x6 order
          Then a maths forum is best for you

          Comment

          • macklin01
            New Member
            • Aug 2005
            • 145

            #6
            Originally posted by r035198x
            Then a maths forum is best for you
            For any matrix of nontrivial size, you're not going to find an explicit formula for the inverse. (Okay, you can with cofactor expansions, etc., but not terribly practical.)

            For exact inverses, you'll want to look for "Gaussian elimination with partial pivoting". (There's also Gaussian elimination with full pivoting, but I've rarely found that necessary.)

            However, I have to ask--do you actually need the full inverse of the matrix, or are you just trying to solve Ax = b? I ask because it is computationally more efficient to just calculate x without finding the full inverse of A, even if you're solving the system repeatedly. Some people ask for the full inverse of the matrix, when in reality they only want to solve a particular linear system.

            Do you plan on mostly doing small matrices, on the order of 6 x 6 to maybe 20 x 20? Or do you eventually plan larger systems? And again, do you plan upon solving for the actual inverse, or do you only need to solve linear systems? In that case, iterative techniques are your friend. (Such as biconjugate gradient, successive over-relaxation, Gauss-Seidel, Jacobi, etc.) -- Paul

            Comment

            • ajeetbaraskar
              New Member
              • Dec 2006
              • 4

              #7
              i want to do full matrix inverse for minimum 6x6 it is ok for me
              simillarly i want to find eigen values and eigenvectors of a 6x6 matrix
              if u help me in this regard it will be too much helpful for me........Ajeet




              Originally posted by macklin01
              For any matrix of nontrivial size, you're not going to find an explicit formula for the inverse. (Okay, you can with cofactor expansions, etc., but not terribly practical.)

              For exact inverses, you'll want to look for "Gaussian elimination with partial pivoting". (There's also Gaussian elimination with full pivoting, but I've rarely found that necessary.)

              However, I have to ask--do you actually need the full inverse of the matrix, or are you just trying to solve Ax = b? I ask because it is computationally more efficient to just calculate x without finding the full inverse of A, even if you're solving the system repeatedly. Some people ask for the full inverse of the matrix, when in reality they only want to solve a particular linear system.

              Do you plan on mostly doing small matrices, on the order of 6 x 6 to maybe 20 x 20? Or do you eventually plan larger systems? And again, do you plan upon solving for the actual inverse, or do you only need to solve linear systems? In that case, iterative techniques are your friend. (Such as biconjugate gradient, successive over-relaxation, Gauss-Seidel, Jacobi, etc.) -- Paul

              Comment

              • J7K
                New Member
                • Dec 2006
                • 3

                #8
                The GNU scientific library embeds a set of routines dealing with matrices.
                Real symetric matrices inversion and eigen vectors computation are part of the offered features. The library is open source, so you can either use it as is, or take a peek at the source code.

                Comment

                Working...