Bug: det() gives false zero
John W. Eaton
jwe at bevo.che.wisc.edu
Thu Jul 24 13:46:38 CDT 2008
On 24-Jul-2008, Jaroslav Hajek wrote:
| Looking at src/DLD-FUNCTIONS/det.cc, it seems that this is a feature -
| if a numerically singular matrix is detected, zero is returned.
| Perhaps John can comment on why he made this choice.
If I was the one who did that, then I no longer remember. If it is
the wrong thing to do, then please submit a patch. It should not be
hard to do, as it appears that the Matrix::determinant method already
returns the value you expect in this case.
Thanks,
jwe
More information about the Bug-octave
mailing list