stdlib-js / stdlib-js/stdlib

[RFC]: Add `@stdlib/random/array/randn`

Đang mở
#866 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
difficulty: 3 Feature JavaScript priority: High RFC status: Blocked
Ngôn ngữ chính
JavaScript
Star
6k
Fork
1.3k
Merge trung bình
1 ngày 3 giờ
Pull request đã merge (30 ngày)
611

Mô tả

### Description

This RFC proposes adding support for creating an array of normally distributed pseudorandom numbers with the option to select the underlying PRNG. This is the array creation analog of `@stdlib/random/base/randn`.

Package: `@stdlib/random/array/randn`
Alias: `randn`

### Related Issues

None.

### Questions

No.

### Other

- A package with a similar implementation/API design is [`@stdlib/random/array/randu`](https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/random/array/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:`.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Start by comparing the proposed package with lib/node_modules/@stdlib/random/array/randu and the analogous @stdlib/random/base/randn package. Define the array API, normal distribution behavior, and selectable PRNG support from those references; done means the new @stdlib/random/array/randn package provides that functionality consistently.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
javascript
Lĩnh vực
data
Loại issue
Tính năng
Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
30/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.