Function concrete_npe::lwe::add_2_uncorrelated [−][src]
pub fn add_2_uncorrelated(variance_0: f64, variance_1: f64) -> f64
Expand description
Computes the variance of the error distribution after an addition of two uncorrelated ciphertexts sigma_out^2 <- sigma0^2 + sigma1^2 Arguments
variance_0
- variance of the error of the first input ciphertextvariance_1
- variance of the error of the second input ciphertext Output- the sum of the variances