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

 
 

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

Submitter:  None
Submitted:  Thu 19 Jan 2017 09:38:45 PM UTC
   
 
Category:  Interpreter Severity:  2 - Minor
Priority:  3 - Low Item Group:  Documentation
Status:  Fixed Assigned to:  None
Originator Name:  Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 4.2.0
Operating System:  * Microsoft Windows Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

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


convmtx
db2mag
dftmtx
gaussdesign
isstable
mag2db
marcumq
rcosdesign
step
upsample


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>
Group 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>
Group Member
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 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 mtmiller (Posted a comment)
  •  

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

    Date Changed by Updated Field Previous Value => Replaced by
    2017-01-22 rik5 StatusConfirmed Fixed
        Open/ClosedOpen Closed
    2017-01-19 mtmiller Severity3 - Normal 2 - Minor
        Priority5 - Normal 3 - Low
        StatusNone Confirmed

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code