stdlib
stdlib copied to clipboard
[RFC]: Add `@stdlib/random/strided/gumbel`
Description
This RFC proposes adding support for filling a strided array with pseudorandom numbers drawn from a Gumbel distribution. This is the strided interface analog of @stdlib/random/base/gumbel
.
Package: @stdlib/random/strided/gumbel
Alias: gumbel
Related Issues
None.
Questions
No.
Other
- A package with a similar implementation/API design is
@stdlib/random/strided/beta
.
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:
.
What type of issue is this? I mean do we have to code or only share our comments and ideas?
This is a feature request. As these APIs are largely settled, no further discussion is necessary. In which case, that only leaves coding the actual implementation as described in the OP.
I am interested in doing this but I am having a little difficulty understanding this. Can you elaborate it in a simpler way? I will appreciate if you use the full text as I find abbreviation a little difficult to understand. Thank you
Not sure what you mean by full text. There are plenty of examples in this repo for addressing this feature request.
Please do not submit LLM generated code. It will be rejected.
I am trying to understand the analogous interface @stdlib/random/base/gumbel
It contains 5 folders and 2 files so is this going contain the same?
@tanbirali Sorry for the long delay. Yes, what this issue is requesting is for a new package @stdlib/random/strided/gumbel
which has the same structure and layout as, e.g., @stdlib/random/strided/beta
, but which generates Gumbel distributed pseudorandom numbers, not beta distributed random variates. This effectively means copying over @stdlib/random/strided/beta
to a new package directory and modifying the source files (e.g., parameter names and descriptions, etc) accordingly.