pub trait VecZnxAddNormalSourceBackend<B>where
B: Backend,{
// Required method
fn vec_znx_add_normal_source_backend(
&self,
base2k: usize,
res: &mut VecZnx<<B as Backend>::BufMut<'_>>,
res_col: usize,
noise_infos: NoiseInfos,
source_xe: &mut Source,
);
}Required Methods§
Sourcefn vec_znx_add_normal_source_backend(
&self,
base2k: usize,
res: &mut VecZnx<<B as Backend>::BufMut<'_>>,
res_col: usize,
noise_infos: NoiseInfos,
source_xe: &mut Source,
)
fn vec_znx_add_normal_source_backend( &self, base2k: usize, res: &mut VecZnx<<B as Backend>::BufMut<'_>>, res_col: usize, noise_infos: NoiseInfos, source_xe: &mut Source, )
Adds a discrete normal vector scaled by 2^{-k} with the provided standard deviation and bounded to [-bound, bound].