Skip to main content

VecZnxAddNormalSourceBackend

Trait VecZnxAddNormalSourceBackend 

Source
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§

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].

Implementors§