bugGNU Octave - Bugs: bug #48518, No warning for singular diagonal...


bug #48518: No warning for singular diagonal matrices

Submitter:  Marco Caliari <caliari>
Submitted:  Fri 15 Jul 2016 07:06:04 AM UTC
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Missed Error or Warning
Status:  Patch Submitted Assigned to:  None
Originator Name:  Open/Closed:  * Open
Release:  * dev Operating System:  * GNU/Linux
* Mandatory Fields

Add a New Comment (Rich Markup)

Comment Type & Canned Response:


Wed 28 Mar 2018 02:47:15 PM UTC, comment #1: 

I attach my attempt to solve the problem. It seems that it is not possible to mark a diagonal matrix as singular. At least, with my changeset, a warning is given.

(file #43705)

Marco Caliari <caliari>
Project Member
Fri 15 Jul 2016 07:06:04 AM UTC, original submission:  

If you run

N = [1,0;0,0]; N \ [1;1]

you get a warning about the singularity of N, and matrix_type(N) is Singular. But with

M = eye(2);, M(2,2) = 0; M \ [1;1]

no warning and matrix_type(M) is Unknown.

Marco Caliari <caliari>
Project Member


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #43705:  sing-diag.diff added by caliari (7KiB - application/x-tex)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by jwe (Updated the item)
  • -email is unavailable- added by caliari (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only project members can vote.





    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-03-28 caliari Item GroupInaccurate Result Missed Error or Warning
        StatusNone Patch Submitted
    2018-03-28 caliari Attached File- Added sing-diag.diff, #43705
    2016-07-29 jwe CategoryInterpreter Octave Function
    2016-07-29 jwe CategoryNone Interpreter

    Back to the top

    Powered by Savane 3.9