[RFC]: Add `@stdlib/random/strided/randi`
- Dominant language
- JavaScript
- Stars
- 6k
- Forks
- 1.3k
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 611
Description
### Description
This RFC proposes adding support for filling a strided array with random integers and with the option to select the underlying PRNG. This is the strided array interface analog of `@stdlib/random/base/randi`.
Package: `@stdlib/random/strided/randi`
Alias: `randi`
### Related Issues
None.
### Questions
No.
### Other
- A package with a similar implementation/API design is [`@stdlib/random/strided/randu`](https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/random/strided/randu).
### Checklist
- [X] I have read and understood the [Code of Conduct](https://github.com/stdlib-js/stdlib/blob/develop/CODE_OF_CONDUCT.md).
- [X] Searched for existing issues and pull requests.
- [X] The issue name begins with `RFC:`.
Contributor guide
Research direction
Start by comparing the proposed package @stdlib/random/strided/randi with @stdlib/random/strided/randu and the analogous @stdlib/random/base/randi implementation. Done means adding the strided random-integer package under the requested alias, supporting selection of the underlying PRNG, and matching the established API and package conventions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- data
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100