[Top][All Lists]

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

[Octave-bug-tracker] [bug #52285] inv(0) gives 0 (instead of inf)

From: Marco Caliari
Subject: [Octave-bug-tracker] [bug #52285] inv(0) gives 0 (instead of inf)
Date: Mon, 30 Oct 2017 06:49:42 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0

Follow-up Comment #3, bug #52285 (project octave):

The problem is around line 646 of dMatrix.cc. If the condition number is zero,
any result is set Inf, except for the (numel() == 1 ) case. What was the
purpose of such an explicit exclusion?
I have a more general question: why a scalar is treated as a full matrix and
not (at least) as a triangular matrix?


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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