help-octave
[Top][All Lists]
Advanced

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

Re: Inverse Matrix Function appears a bit wonky


From: Robert A. Macy
Subject: Re: Inverse Matrix Function appears a bit wonky
Date: Wed, 03 Nov 2004 21:42:53 -0800

I did get a warning message once. but never again.  No
warning for any form.  Can't restart octave right now to
see if I get a warning a single time.  

Thanks for the help.  

           - Robert -  

On Wed, 3 Nov 2004 16:13:47 -0500
 "John W. Eaton" <address@hidden> wrote:
> On  3-Nov-2004, John W. Eaton <address@hidden>
> wrote:
> 
> | If there is no warning on your system, I suspect your
> | version of Octave is linked with some version of LAPACK
> that does not
> | return the proper error code when a singular matrix is
> detected during
> | the factorizaion leading to the computation of the
> inverse.
> 
> Oops.  Now I see that if you request an output:
> 
>   x = inv (x)
> 
> the warning is suppressed, but if you don't:
> 
>   inv (x)
> 
> (result assigned to "ans"), then you should see the
> warning.  That's
> an error.  The warning should only be supressed if you
> request 2
> output arguments (the inverse AND rcond).
> 
> I'll fix this for 2.1.61.
> 
> Thanks,
> 
> jwe



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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