[][src]Function concrete_lib::npe::lwe::add_n_uncorrelated

pub fn add_n_uncorrelated(variances: &[f64]) -> f64

Computes the variance of the error distribution after an addition of n uncorrelated ciphertexts sigma_out^2 <- \Sum sigma_i^2 Arguments

  • variances - a slice of f64 with the error variances of all the input uncorrelated ciphertexts Output
  • the sum of the variances