Open
Description
Description
This RFC proposes adding the package @stdlib/iter/cartesian-power
.
This package would be the iterator equivalent of @stdlib/array/cartesian-power
.
function iterCartesianPower( x, n ) { ... }
where x
is an input array-like object and n
is an integer power.
Package: @stdlib/iter/cartesian-power
Alias: iterCartesianPower
Related Issues
Related issues #1334.
Questions
No.
Other
No.
Checklist
- I have read and understood the Code of Conduct.Searched for existing issues and pull requests.The issue name begins with
RFC:
.
Metadata
Metadata
Assignees
Labels
RFC feature request which has been accepted.Issue or pull request for adding a new feature.A good first issue for new contributors!Issue involves or relates to JavaScript.Request for comments. Feature requests and proposed changes.Issue or pull request concerning general utilities.May require some initial design or R&D, but should be straightforward to resolve and/or implement.Low priority concern or feature request.
Activity
TheNourhan commentedon Feb 21, 2024
I want to solve this problem do I create a cartesian-power folder and put my code inside it?
kgryte commentedon Feb 21, 2024
@TheNourhan Thanks for reaching out. To get started, you'll want to follow the Download, Installation, and Verification steps outlined in the development guide: https://github.com/stdlib-js/stdlib/blob/develop/docs/development.md#download
Once you've setup your local environment, I suggest copying, e.g., the contents of an existing package (e.g.,
@stdlib/iter/linspace
) to acartesian-power
folder in theiter
directory, updating the copyright years to 2024, and then modifying the package contents according to the needs specified in the RFC above. Once you've done that, you should open a PR and we can discuss more there.gunjjoshi commentedon Feb 22, 2024
I would love to work on this, so should I make the PR directly, or should I be assigned to this issue first ?
kgryte commentedon Feb 22, 2024
@gunjjoshi You may want to find another issue, unless @TheNourhan is not planning on working on this.
TheNourhan commentedon Feb 22, 2024
I'm working on it, it's almost done.
iter/cartesian-power
#13501 remaining item