473,406 Members | 2,343 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

inverse of 6x6 matrix

can any one send me the codining for finding out inverse of a 6x6 matrix
Dec 14 '06 #1
7 12612
DeMan
1,806 1GB
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)
Dec 14 '06 #2
r035198x
13,262 8TB
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
Dec 14 '06 #3
actually i need mathematical formulation which is used for finding inverse of matrix
minimum of 6x6 order
Dec 14 '06 #4
r035198x
13,262 8TB
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
Dec 14 '06 #5
macklin01
145 100+
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
Dec 14 '06 #6
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




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
Dec 15 '06 #7
J7K
3
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.

http://www.gnu.org/software/gsl/
Dec 15 '06 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: vishnu mahendra | last post by:
hello to all, can any one please give me an algorithm to find inverse of a matrix of order n rows and m columns. thank you in advance, vishnu.
1
by: praneeth | last post by:
hi i want a c program to find the inverse of 3X3 matrix urgent i need it fast anyoone reply thanks
1
by: ravleen bindra | last post by:
please tell me how to find inverse of a nxm matrix in C programming language
0
by: YUSUF ISIAKA | last post by:
Him please help me with the codes for the following questions: 1. Write a program in c/c++ to compute the inverse of a square matrix. 2. Write a program in c/c++ to compute the determinant of a...
2
by: leelaramtenneti | last post by:
hello I need a program to find a Inverse of a square complex matrix in java... . The program should calculate the inverse of a matrix in which each element has both real and imaginary parts. Or...
2
by: leelaramtenneti | last post by:
How to find inverse of a complex matrix ????
0
by: DarrenWeber | last post by:
# Copyright (C) 2007 Darren Lee Weber # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free...
3
by: aaram81 | last post by:
I need a help in C++ for the following question: write a p[rogram to read 4 by 4 matrix, store it and find the inverse of this matrix. then multiply the inverse with the original matrix , store it ....
1
by: dazzler | last post by:
Hi! I have problem with numpy, multiplying with an inversed matrix will crash python :( this works fine: from numpy import matrix A = matrix(,]) B = matrix(,]) print A.I #inverse matrix
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.