Skip to main content

sample_gaussian

Function sample_gaussian 

Source
pub fn sample_gaussian<R: Rng>(params: &Params, rng: &mut R) -> Poly
Expand description

Sample a polynomial with coefficients from the discrete Gaussian distribution centered at 0 with standard deviation σ.