bugGNU Octave - Bugs: bug #50098, when using nanmean the interpreter...

 
 

bug #50098: when using nanmean the interpreter points to pkg financial instead of statistics

Submitted by:  None
Submitted on:  Thu 19 Jan 2017 09:38:45 PM UTC  
 
Category: InterpreterSeverity: 2 - Minor
Priority: 3 - LowItem Group: Documentation
Status: FixedAssigned to: None
Originator Name: Originator Email: -unavailable-
Open/Closed: ClosedRelease: 4.2.0
Operating System: Microsoft Windows

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sun 22 Jan 2017 12:04:00 AM UTC, comment #2:

I manually cleaned up a lot of duplicates and problems in this cset (http://hg.savannah.gnu.org/hgweb/octave/rev/be0ae04721bf).

The following functions exist, legitamately, in communications and signal packages

I don't know what to do about that. We just tell people to use the communications package since it occurs alphabetically in the code before the signals package.

Rik <rik5>
Project Administrator
Thu 19 Jan 2017 11:53:12 PM UTC, comment #1:

Confirmed. The list of functions that are external to Octave is maintained in the function file _unimplemented_.m.

The financial package happens to be listed before the statistics package, which is why it matches there first.

The external functions listed in this helper function are based on the public Matlab web pages. What is unfortunate is that the Matlab class @fints in the financial package overrides many core functions and functions in other toolboxes, such as log or nanmean. These are listed as bare functions in _unimplemented_.m, while they are actually methods bound to the @fints class.

Some effort could be made to filter out functions that are actually methods bound to specific types provided by Matlab's toolbox APIs.

Mike Miller <mtmiller>
Project Administrator
Thu 19 Jan 2017 09:38:45 PM UTC, original submission:

when using nanmean the interpreter replies with:

warning: the 'nanmean' function belongs to the financial package from Octave
and suggests 'pkg load financial'.

after loading pkg financials the interpreter message reads:
warning: the 'nanmean' function belongs to the financial package from Octave Forge but has not yet been implemented.

The page https://octave.sourceforge.io/statistics/function/nanmean.html is up-to-date.

Regards.

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 rik5 (Posted a comment)
  • -unavailable- added by mtmiller (Posted a comment)
  •  

    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 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 22 Jan 2017 12:04:00 AM UTCrik5StatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
    Thu 19 Jan 2017 11:53:12 PM UTCmtmillerSeverity3 - Normal=>2 - Minor
      Priority5 - Normal=>3 - Low
      StatusNone=>Confirmed

    Back to the top


    Powered by Savane 3.1-cleanup1