stdlib icon indicating copy to clipboard operation
stdlib copied to clipboard

RFC: add support for computing the arithmetic mean of a double-precision floating-point strided array ignoring NaN values and using an improved Kahan-Babuska algorithm

Open kgryte opened this issue 4 years ago • 4 comments

Checklist

Please ensure the following tasks are completed before submitting a feature request.

  • [x] Read and understood the Code of Conduct.
  • [x] Searched for existing issues and pull requests.
  • [x] The issue name begins with RFC:.

Description

Description of the feature request.

This RFC proposes adding support for computing the arithmetic mean of a double-precision floating-point strided array ignoring NaN values and using an improved Kahan-Babuska algorithm. This would be a lower-level strided interface which includes a native C implementation and has the following package name:

Package: @stdlib/stats/base/dnanmeankbn Related: @stdlib/stats/base/dmeankbn

Related Issues

Does this feature request have any related issues?

None.

Questions

Any questions for reviewers?

No.

Other

Any other information relevant to this feature request? This may include screenshots, references, sample output, and/or implementation notes.

No.

kgryte avatar Jun 28 '20 00:06 kgryte

Hi! Is this feature request accepted and if so, can I work on it?

dorrin-sot avatar Feb 03 '22 18:02 dorrin-sot

@dorrin-sot Hey! This feature request is accepted, and you are more than welcome to work on it. Two reference packages which can serve as templates for implementing this feature:

Can you give me 24-48 hours, though, before you commence work on this feature? I want to update the above two packages, as we currently do the native add-ons differently now elsewhere in the project and need to align, more generally, @stdlib/stats/base.

I will circle back when I am finishing updating the packages so you have clean references to serve as templates for implementing this feature.

Thanks for your interest in working on this!

kgryte avatar Feb 03 '22 19:02 kgryte

Sure thanks, though since I have to resolve an issue for an assignment (in about 24 hours 🥲) I'll look around for similar feature requests.

dorrin-sot avatar Feb 03 '22 20:02 dorrin-sot

Okay! No worries! Thanks for stopping by.

kgryte avatar Feb 03 '22 20:02 kgryte

Hi, I'd like to work on this if it's still up :)

Looking at the discussion, I also wanted to confirm if the reference implementations are up-to-date now.

skoriop avatar Feb 28 '24 00:02 skoriop