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

 
 

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

Submitter:  Ray Zimmerman <rdzman>
Submitted:  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
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group 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:
   
   
Comment:
   

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)
  •  

    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 group 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.13-f8d8.
    Corresponding source code