gen_normal_poly

Function gen_normal_poly 

Source
pub fn gen_normal_poly(
    size: usize,
    sigma: f64,
    seed: Option<u64>,
) -> Polynomial<i64>
Expand description

Generate a normal polynomial

§Arguments:

  • size - number of coefficients
  • sigma - standard deviation
  • seed - random seed

§Returns:

polynomial with coefficients sampled from a normal distribution