bugGNU Octave - Bugs: bug #61986, 'find' doc doesn't describe...

 
 

bug #61986: 'find' doc doesn't describe inedxing behavior on multidimensional arrays

Submitter:  Nicholas Jankowski <nrjank>
Submitted:  Thu 03 Feb 2022 02:06:33 PM UTC
   
 
Category:  Octave Function Severity:  2 - Minor
Priority:  5 - Normal Item Group:  Documentation
Status:  Fixed Assigned to:  None
Originator Name:  Nicholas Jankowski Open/Closed:  * Closed
Release:  * 7.0.90 Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 03 Feb 2022 05:24:19 PM UTC, comment #5: 

for future reference, is the proper sequence to merge stable to default:


hg up default
hg merge stable
hg ci -m "maint: Merge stable to default"


Nicholas Jankowski <nrjank>
Group Member
Thu 03 Feb 2022 05:22:27 PM UTC, comment #4: 
Nicholas Jankowski <nrjank>
Group Member
Thu 03 Feb 2022 05:01:53 PM UTC, comment #3: 

sigh, no.  should be what you said.  missed that on an edit.

Nicholas Jankowski <nrjank>
Group Member
Thu 03 Feb 2022 03:36:18 PM UTC, comment #2: 

Is the grammar correct?

> If @var{x} is multidimensional array


Should be?

> If @var{x} is a multidimensional array


Markus Mützel <mmuetzel>
Group administrator
Thu 03 Feb 2022 02:10:48 PM UTC, comment #1: 
Nicholas Jankowski <nrjank>
Group Member
Thu 03 Feb 2022 02:06:33 PM UTC, original submission:  

noticed when using find on a dim3 array that the [i,j,v] form for returned values flattens the array so it can return a two dimensional (i,j) index. didn't see documentation of this behavior, and saw it was documented in the matlab help.  this patch adds a description of the behavior to find's docstring, and also adds a BIST to capture the behavior.

Nicholas Jankowski <nrjank>
Group Member

 

(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 mmuetzel (Posted a comment)
  • -email is unavailable- added by nrjank (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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-02-05 rik5 StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2022-02-03 nrjank Summary'find' doc don't describe inedxing behavior on multidimension 'find' doc doesn't describe inedxing behavior on multidimensional arrays

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code