help-octave
[Top][All Lists]
Advanced

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

No warnings, please - I know it's singular


From: John W. Eaton
Subject: No warnings, please - I know it's singular
Date: Fri, 7 Aug 1998 01:46:13 -0500 (CDT)

On  6-Aug-1998, Dirk Laurie <address@hidden> wrote:

| My matrix is all integers (all 0's and 1's) in fact, and a crucial
| step in the application depends on whether the determinant is odd 
| or even.  I find it annoying to see a visible warning on my screen
| and in my diary files whenever the determinant is 0 (which happens
| quite often).  Can I turn off the warning as in:
| 
| ยป det(E)
| warning: det: matrix singular to machine precision, rcond = 0
| ans = 0
| 
| or must I code my own det based on e.g. [L,U,P]=lu(E)?

There is currently no way to disable the warning other than by editing
the source code for the determinant function (defined in src/det.cc).

jwe



reply via email to

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