rust-random / rust-random/rand_distr

Add truncated distributions to `rand` / `rand_distr` / new `rand`-crate

Open
#7 15 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
26
Forks
16
PR merge metrics
No merged PRs in 30d

Description

Background

What is your motivation?
I'm writing a simulation and the truncated distributions is a great convenience for sampling
parameters.

What type of application is this? (E.g. cryptography, game, numerical simulation)
Statistics, numerical simulation, etc.

Feature request

I would like to have truncated distributions as part of (perhaps) rand_distr or it could be a new
crate rand_trunc maybe. I'm asking for some guidance here to figure out the best course of action.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names the rand and rand_distr crates and proposes a new rand_trunc crate, but mentions no files, tests, or entry points. Start by reviewing the existing crate boundaries and distribution APIs, then clarify the intended ownership and scope; done would be an agreed design and implementation plan for truncated distributions.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
data
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.