bugGNU Octave - Bugs: bug #56153, Feature Request: any/all could...

 
 

bug #56153: Feature Request: any/all could accept a vector for DIM argument

Submitted by:  None
Submitted on:  Wed 17 Apr 2019 04:35:16 PM UTC  
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Feature Request
Status:  Confirmed Assigned to:  None
Originator Name:  buchholz Originator Email:  -email is unavailable-
Open/Closed:  Open Release:  dev
Operating System:  GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Wed 17 Apr 2019 04:51:16 PM UTC, comment #1:

First, version 4.0.3 is ancient and no longer supported. You should upgrade to the latest stable version 5.1.0 as there have been many positive changes.

But, that won't address the particular issue you identified. I think the capability for the dimension argument to be a vector is a relatively new addition to Matlab. I have changed the issue report to be a request to implement this feature in Octave.

Rik <rik5>
Project Administrator
Wed 17 Apr 2019 04:35:16 PM UTC, original submission:

The following code

(analogue with all)

ignores the vector status of the dim argument.

I would expect either
- octave to complain, that the argument must be a scalar, or
- do the operation over all of the indicated dimensions (as would matlab (2018b) do), i.e. the result would be 1 in this case.

(I would prefer the second solution, it would not only reduce incompabilities, but also be more useful.)

Anonymous

 

(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 None (Submitted the item)
  •  

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

    Only project members can vote.

     

     

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-04-17 rik5 Item GroupMissed Error or Warning => Feature Request
        StatusNone => Confirmed
        Release4.0.3 => dev
        SummaryVector status of argument to any/all ignored => Feature Request: any/all could accept a vector for DIM argument

    Back to the top


    Powered by Savane 3.4