bugGNU Octave - Bugs: bug #40617, statistics: nanmin and nanmax...

 
 

bug #40617: statistics: nanmin and nanmax don't return an index

Submitted by:  None
Submitted on:  Mon 18 Nov 2013 03:23:32 AM UTC  
 
Category: Octave Forge PackageSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: None
Originator Name: GioOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 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.

 

Sat 30 Nov 2013 08:16:10 PM UTC, comment #1:

I followed your suggestion and added the second output to all max/min occurences.

The change will be in release 1.2.3 of the statistics package.

Thanks,
Arno

Arno Onken <asnelt>
Mon 18 Nov 2013 03:23:32 AM UTC, original submission:

According to the documentation, nanmax and nanmin should return a second output, with the index of the values, see
http://octave.sourceforge.net/statistics/function/nanmax.html

however, looking at the code of the function, the output idx is not specified.
I suggest to change all the occurrences of:

into:

Similar changes should be applied to nanmin. I'm using Octave 3.7.7 and statistics 1.2.2.
Thank you very much for developing these useful tools

Anonymous

 

(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 asnelt (Posted a comment)
  • -unavailable- added by carandraug (Arno Onken - maintainer of the statistics package)
  • -unavailable- added by None (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 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 30 Nov 2013 10:26:22 PM UTCcarandraugStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Mon 18 Nov 2013 02:19:04 PM UTCcarandraugSummarynanmin and nanmax don\'t return an index=>statistics: nanmin and nanmax don't return an index
      Carbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1