stdlib icon indicating copy to clipboard operation
stdlib copied to clipboard

[RFC]: Add `@stdlib/random/strided/gumbel`

Open kgryte opened this issue 1 year ago • 6 comments

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

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 28 '23 06:02 kgryte

What type of issue is this? I mean do we have to code or only share our comments and ideas?

tanbirali avatar Jun 03 '23 13:06 tanbirali

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.

kgryte avatar Jun 03 '23 19:06 kgryte

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

tanbirali avatar Jun 05 '23 17:06 tanbirali

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.

kgryte avatar Jun 05 '23 18:06 kgryte

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 avatar Jun 07 '23 12:06 tanbirali

@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.

kgryte avatar Jan 05 '24 22:01 kgryte