bugGNU Octave - Bugs: bug #52658, eig optional argument eigvalOption

 
 

bug #52658: eig optional argument eigvalOption

Submitter:  CH <atcl>
Submitted:  Wed 13 Dec 2017 02:09:36 PM UTC
   
 
Category:  Documentation Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Documentation
Status:  Invalid / Not an Octave Bug Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 16 Dec 2017 03:35:00 PM UTC, comment #2: 

Sorry, it is documented, both in stable and in devel. I'm closing as invalid.

Marco Caliari <caliari>
Group Member
Fri 15 Dec 2017 08:45:16 AM UTC, comment #1: 

This already works in octave, but it is undocumented. I changed the category to documentation.

Marco Caliari <caliari>
Group Member
Wed 13 Dec 2017 02:09:36 PM UTC, original submission:  

Matlab's eig function accepts an option pair which sets the return value structure of the eigenvalues. The name of the option is "eigvalOption" and it accepts values "vector" and "matrix". Thus the following code:


[evc,evl] = eig(A,'vector');


returns the eigenvalues evl as a column vector instead of a diagonal matrix. On the other hand the code:


evl = eig(A,'matrix');


returns a diagonal matrix of eigenvalues.
Could this option be included in Octave's eig function, too?

Thanks

CH <atcl>

 

(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 (Updated the item)
  • -email is unavailable- added by siko1056 (Updated the item)
  • -email is unavailable- added by caliari (Posted a comment)
  • -email is unavailable- added by atcl (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.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-12-17 rik5 Open/ClosedOpen Closed
    2017-12-16 caliari StatusConfirmed Invalid / Not an Octave Bug
    2017-12-15 siko1056 Item GroupMatlab Compatibility Documentation
        StatusNone Confirmed
    2017-12-15 caliari CategoryOctave Function Documentation

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code