[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-gsl] Re: linear algebra doubt

From: Rodney Sparapani
Subject: [Help-gsl] Re: linear algebra doubt
Date: Mon, 13 Oct 2008 09:24:31 -0500
User-agent: Thunderbird (X11/20080505)

Adhithya Ravichandran wrote:
I 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?


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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]