Bug: det() gives false zero
John W. Eaton
jwe at bevo.che.wisc.edu
Fri Jul 25 14:22:33 CDT 2008
On 24-Jul-2008, John W. Eaton wrote:
| 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.
I had some time to look at this and checked in the following patch.
Thanks,
jwe
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diffs
Url: https://www.cae.wisc.edu/pipermail/bug-octave/attachments/20080725/7a00245b/attachment.ksh
More information about the Bug-octave
mailing list