pub fn random_elements<T>(n: usize) -> Vec<T>where
    Standard: Distribution<T>,
Expand description

Generate n random elements using rand::thread_rng().

This requires the trait instance Standard: Distribution<T>.

See trait instances for BFieldElement or XFieldElement for examples.