bugGNU Octave - Bugs: bug #66156, Implement nanflag option for...

 
 

bug #66156: Implement nanflag option for moving window functions

Submitter:  Nicholas Jankowski <nrjank>
Submitted:  Sun 01 Sep 2024 07:29:27 AM UTC
   
 
Category:  Octave Function Severity:  1 - Wish
Priority:  5 - Normal Item Group:  Feature Request
Status:  None Assigned to:  None
Originator Name:  Open/Closed:  * Open
Release:  * 9.2.0 Operating System:  * Any
Fixed Release:  None Planned Release:  10.1.0 (current default)
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 04 Sep 2024 02:31:14 PM UTC, comment #1: 

minor compatibility change.  pushed

https://hg.savannah.gnu.org/hgweb/octave/rev/39a34a70c3ea

to default to enable omit/includemissing options as aliases for omit/includenan.  movfun had previously had the input validation updated to check for this, but this updates _pars_movargs_.m so that they are passed by movXYZ functions to movfun.

Nicholas Jankowski <nrjank>
Group Member
Sun 01 Sep 2024 07:29:27 AM UTC, original submission:  

creating this as a placeholder for implementing the nanflag options for the moving window functions that allows them to include/exclude NaN elements.

This has been implemented in the moving function options for `fillmissing` in the statistics package, but the base functions are rather different so it may not be straightforward to port into movfun. nanflag creates a possibility that each column includes a different number of points. so efficient operation is a challenge. Many of the base functions (sum, etc, etc) have nanflag options that movfun could just pass the flag to, but the option isn't implemented for all of them, and octave having a generic movfun means that would have to support nanflag internally. This might warrant separate codepaths for built in fns

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 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.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-8a8d.
    Corresponding source code