pub trait VecZnxBigAddNormal<B: Backend> {
// Required method
fn vec_znx_big_add_normal<R: VecZnxBigToMut<B>>(
&self,
base2k: usize,
res: &mut R,
res_col: usize,
k: usize,
source: &mut Source,
sigma: f64,
bound: f64,
);
}Expand description
Add a discrete normal distribution on res.
§Arguments
base2k: base two logarithm of the bivariate representationres: receiver.res_col: column of the receiver on which the operation is performed/stored.k:source: random coin source.sigma: standard deviation of the discrete normal distribution.bound: rejection sampling bound.
Required Methods§
fn vec_znx_big_add_normal<R: VecZnxBigToMut<B>>( &self, base2k: usize, res: &mut R, res_col: usize, k: usize, source: &mut Source, sigma: f64, bound: f64, )
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.