bugGNU Octave - Bugs: bug #55142, svds() string values for SIGMA...


bug #55142: svds() string values for SIGMA argument incompatible with MATLAB

Submitted by:  Ray Zimmerman <rdzman>
Submitted on:  Fri 30 Nov 2018 09:00:00 PM UTC  
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Matlab Compatibility
Status:  Confirmed Assigned to:  None
Originator Name:  rdzman Open/Closed:  Open
Release:  4.4.1 Operating System:  Any

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Sat 01 Dec 2018 04:38:44 AM UTC, comment #1: 

Matlab is always changing things like the names of their options, without any rhyme or reason.

Since svds is implemented in an m-file it is simple to change the input processing to accept both "L" and "largest", and to map "smallest" on to a sigma of 0.  If you want to give it a try and submit a patch I will review it.

Rik <rik5>
Project Administrator
Fri 30 Nov 2018 09:00:00 PM UTC, original submission:  

Matlab accepts the following string values for the SIGMA argument to svds(): 'largest', 'smallest', 'smallestnz'.

Octave accepts none of these, but it appears that the first two are implemented, just with the values 'L' and 0, respectively.

Ray Zimmerman <rdzman>


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

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by rdzman (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.




    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-12-01 rik5 StatusNone => Confirmed

    Back to the top

    Powered by Savane 3.7