|
[Sponsors] |
April 29, 2002, 18:54 |
Inverse of a matrix
|
#1 |
Guest
Posts: n/a
|
Hi all, I want to find the inverse of a matrix which will be diagonal for most part of it and blocked in the rest. Does anyone know any LAPACK routine or a numerical recipe to find this inverse. Sunil.
|
|
April 29, 2002, 21:02 |
Re: Inverse of a matrix
|
#2 |
Guest
Posts: n/a
|
Why do you want to find the inverse of your matrice?
The work to be done is of the same order as solving it with the gauss-jordan algorithm. Furthermore, the exact inverse will be possibly full. |
|
April 30, 2002, 02:53 |
Re: Inverse of a matrix
|
#3 |
Guest
Posts: n/a
|
There are many subroutines in NETLIB.org for the inversion of different types of matrix. Try to find one fitting your matrix. Good luck!
|
|
April 30, 2002, 11:20 |
Re: Inverse of a matrix
|
#4 |
Guest
Posts: n/a
|
I have to find the inverse of this matrix because I want to use the inverse as a preconditioner for solving another linear equation system. I therefore need the exact inverse. The exact inverse should not be fully populated because the matrix is mostly diagonal and is blocked diagonal else where. So do you know any storage scheme and inversion algorithm for such a matrix?
|
|
April 30, 2002, 20:14 |
Re: Inverse of a matrix
|
#5 |
Guest
Posts: n/a
|
As Paul said, try looking for a free code in www.netlib.org. But I have some advices:
1) The inverse of a matrice is unique. Hence, the inverse you will be computing for a system won't apply to the other systems. 2) Be careful with preconditioners, they can have a bad effect on the condittioning of your system. The only one that works everytime is the diagonal preconditioner for weakly or strongly diagonal systems.. |
|
May 15, 2002, 17:01 |
Re: Inverse of a matrix
|
#6 |
Guest
Posts: n/a
|
generally, you do not need to explicitly know the inverse of a matrix in order to use it as a preconditioner. usually, a knowledge of its LU decomposition is sufficient. usually, you need only to invert the ACTION of the matrix on an unknown vector, for which purpose the LU decomposition is sufficient. the L and U matrices are not as full as the inverse may be.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Force can not converge | colopolo | CFX | 13 | October 4, 2011 23:03 |
How to find the product of A+ matrix and A- matrix | arjun shanker | Main CFD Forum | 0 | November 12, 2010 23:12 |
OpenFOAM version 1.6 details | lakeat | OpenFOAM Running, Solving & CFD | 42 | August 26, 2009 22:47 |
Block-Block tridiagonal matrix inverse | Abdulhafid Elfaghi | Main CFD Forum | 3 | September 16, 2007 03:55 |
Elemtary matrix to CSR global matrix | xueying | Main CFD Forum | 2 | September 24, 2002 10:44 |