help-octave
[Top][All Lists]
Advanced

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

det : singular matrix warning


From: Rolf Fabian
Subject: det : singular matrix warning
Date: Wed, 10 Jan 2001 13:05:44 +0100

Hi,


Currently, I'm frequently using determinants. 

The following feature is annoying:

det with a singular input matrix prints a warning to the screen terminal
If det is called in an e.g. iterative  program, a lot of such warnings may
be displayed.

:)det(reshape(1:9,3,3))
warning: det: matrix singular to machine precision, rcond = 0
ans = 0

How to switch-off such warnings ?
I didn't find any hint in the manuals.

BTW, why is such a warning displayed at all ?
To me, it doesn't make any sense  because 
if det(A)  returned zero, I'll know that A is singular.

What's the reason to warn me in addition?

Bye
Rolf



-------------------------------------------------------------
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]