VecZnxAddNormal

Trait VecZnxAddNormal 

Source
pub trait VecZnxAddNormal {
    // Required method
    fn vec_znx_add_normal<R>(
        &self,
        base2k: usize,
        res: &mut R,
        res_col: usize,
        k: usize,
        source: &mut Source,
        sigma: f64,
        bound: f64,
    )
       where R: VecZnxToMut;
}

Required Methods§

Source

fn vec_znx_add_normal<R>( &self, base2k: usize, res: &mut R, res_col: usize, k: usize, source: &mut Source, sigma: f64, bound: f64, )
where R: VecZnxToMut,

Adds a discrete normal vector scaled by 2^{-k} with the provided standard deviation and bounded to [-bound, bound].

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.

Implementors§