Add method for randomly sampling non-zero elements
- Dominant language
- Rust
- Stars
- 42
- Forks
- 45
- PR merge metrics
- No merged PRs in 30d
Description
We should add a method either on UniformRand or on a trait thats auto-derivable for traits with UniformRand and Zero, in order to sample non-zero elements
_Originally posted by @ValarDragon in https://github.com/arkworks-rs/groth16/pull/16#discussion_r543727125_
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the UniformRand and Zero traits in the arkworks std repository and review the discussion linked from groth16 pull request 16. Decide whether sampling belongs on UniformRand or an auto-derivable trait for types implementing UniformRand and Zero. Done means the repository provides a defined method for sampling non-zero elements, with the intended trait design established.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100