octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #52658] eig optional argument eigvalOption


From: CH
Subject: [Octave-bug-tracker] [bug #52658] eig optional argument eigvalOption
Date: Wed, 13 Dec 2017 09:09:38 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0

URL:
  <http://savannah.gnu.org/bugs/?52658>

                 Summary: eig optional argument eigvalOption
                 Project: GNU Octave
            Submitted by: atcl
            Submitted on: Wed 13 Dec 2017 02:09:36 PM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Matlab Compatibility
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

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




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?52658>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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