|
From: | Rodney Sparapani |
Subject: | [Help-gsl] Re: linear algebra doubt |
Date: | Mon, 13 Oct 2008 09:24:31 -0500 |
User-agent: | Thunderbird 2.0.0.14 (X11/20080505) |
Adhithya Ravichandran wrote:
HiI am using the linear algebra header for one of my simulations. I want to invert a matrix and i tried using the gsl LU invert function for real numbers.Whatever be the order of the square matrix , only the last two rows of the output has valid numbers. the rest of it is either "nan" or "inf" which is wrong. Am I using the function in a wrong manner? I have been using a permutation matrix which is the identity matrix. do i need to change it? Adhithya
I had some trouble with LU also. I'm not sure if there is a GSL bug or I'm doing something wrong. I have had success with the SVD method. So, I'd suggest giving that a try.
Rodney
[Prev in Thread] | Current Thread | [Next in Thread] |