pub fn random_elements<T>(n: usize) -> Vec<T>where
Standard: Distribution<T>,
Expand description
Generate n
random elements using rand::thread_rng()
.
For example implementations of the Distribution
trait for Standard
, see
BFieldElement
or XFieldElement
.