stdlib icon indicating copy to clipboard operation
stdlib copied to clipboard

[RFC]: add `@stdlib/array/base/mskfilter-map`

Open kgryte opened this issue 1 year ago • 7 comments

Description

This RFC proposes adding the package @stdlib/array/base/mskfilter-map.

The package should be structured similarly to @stdlib/array/base/mskfilter.

The package should expose an API having the same signature as mskfilter, with the addition of clbk and thisArg arguments.

function mskfilterMap( x, mask, clbk[, thisArg ] ) {...}

The callback function should map each selected value specified by mask to the output value.

In short, this package combines mskfilter and map into a single API call.

Package: @stdlib/array/base/mskfilter-map Alias: mskfilterMap

Related Issues

Related issues #1321 .

Questions

No.

Other

No.

Checklist

  • [X] I have read and understood the Code of Conduct.
  • [X] Searched for existing issues and pull requests.
  • [X] The issue name begins with RFC:.

kgryte avatar Feb 21 '24 03:02 kgryte

@kgryte I want to work on this.

kanhaiya04 avatar Feb 22 '24 20:02 kanhaiya04

Thank you for volunteering to work on this @kanhaiya04. Please feel free to submit a PR implementing this feature.

kgryte avatar Feb 22 '24 22:02 kgryte

sir this issue has been assigned to someone but he has not yet resolved the issue. So can I work on that issue

Rejoan-Sardar avatar Feb 24 '24 15:02 Rejoan-Sardar

@Rejoan-Sardar I'm working on it.

kanhaiya04 avatar Feb 24 '24 17:02 kanhaiya04

@Rejoan-Sardar I suggest finding another issue to work on for the time being.

kgryte avatar Feb 24 '24 22:02 kgryte

Can I work on this issue, as this issue is not assign to anyone currently?

AuenKr avatar Feb 28 '24 16:02 AuenKr

@AuenKr Yes, go for it. Thanks!

kgryte avatar Feb 28 '24 21:02 kgryte