bugGNU Octave - Bugs: bug #38874, ellipj should work for arrays with...

 
 

bug #38874: ellipj should work for arrays with any number of dimensions

Submitted by:  John W. Eaton <jwe>
Submitted on:  Fri 03 May 2013 05:53:15 AM UTC  
 
Category: LibrariesSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Matlab Compatibility
Status: FixedAssigned to: None
Originator Name: John W. EatonOpen/Closed: Closed
Release: devOperating System: Any

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Wed 04 Sep 2013 11:44:50 PM UTC, comment #1:

Fixed to handle N-D arrays in this changeset (http://hg.savannah.gnu.org/hgweb/octave/rev/991c7c812e38).

Rik <rik5>
Project Administrator
Fri 03 May 2013 05:53:15 AM UTC, original submission:

The new ellipj function looks like a 2 argument mapper, so is there any reason that it is restricted to 2D arrays? It seems that it should handle arrays of arbitrary dimensions as long as the sizes agree. I tagged this as a compatibility item because that's what it looks like Matlab does. If not, change this report to a feature request.

If so, then the loops should probably also be rewritten something like this, which should be somewhat faster than using the () indexing operators because the () indexing operators will check reference counts each time they are called, but using fortran_vec will only require one reference count check.

John W. Eaton <jwe>
Project Administrator

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

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 jwe (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 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 04 Sep 2013 11:44:50 PM UTCrik5StatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup