Skip to main content

VecZnxBigAddNormal

Trait VecZnxBigAddNormal 

Source
pub trait VecZnxBigAddNormal<B>
where B: Backend,
{ // Required method fn vec_znx_big_add_normal( &self, base2k: usize, res: &mut VecZnxBig<<B as Backend>::BufMut<'_>, B>, res_col: usize, noise_infos: NoiseInfos, source: &mut Source, ); }
Expand description

Add a discrete normal distribution on res.

§Arguments

  • base2k: base two logarithm of the bivariate representation
  • res: 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§

Source

fn vec_znx_big_add_normal( &self, base2k: usize, res: &mut VecZnxBig<<B as Backend>::BufMut<'_>, B>, res_col: usize, noise_infos: NoiseInfos, source: &mut Source, )

Implementors§