bugGNU Octave - Bugs: bug #41865, polyeig behavles slightly...

 
 

bug #41865: polyeig behavles slightly differently than matlab

Submitted by:  Michael <mdunphy>
Submitted on:  Thu 13 Mar 2014 10:46:57 PM UTC  
 
Category: Octave FunctionSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Matlab Compatibility
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: 3.8.1Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sat 15 Mar 2014 11:39:41 PM UTC, comment #1:

Because this changes the return signature of the function I could not fix this on the stable branch. I checked in a changeset which overhauls the function and will be a part of the 4.0 release (http://hg.savannah.gnu.org/hgweb/octave/rev/f57148641869).

Rik <rik5>
Project Administrator
Thu 13 Mar 2014 10:46:57 PM UTC, original submission:

polyeig.m returns eigenvalues as a diagonal matrix, whereas to be consistent with MATLAB, it should return the eigenvalues in a vector. Using the test case in the end of polyeig.m as an example,

In MATLAB we get:

In Octave we get:

The fix should be to change
to
at line 75

Michael <mdunphy>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #30913:  polyeig_edit.diff added by None (714B - text/x-diff - I edited polyeig.m as recommended)

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

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

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 15 Mar 2014 11:39:41 PM UTCrik5StatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Sat 15 Mar 2014 08:48:40 PM UTCNoneAttached File-=>Added polyeig_edit.diff, #30913

    Back to the top


    Powered by Savane 3.1-cleanup1