pub unsafe trait VecZnxAddNormalImpl<B: Backend> {
// Required method
fn vec_znx_add_normal_impl<R>(
module: &Module<B>,
base2k: usize,
res: &mut R,
res_col: usize,
k: usize,
source: &mut Source,
sigma: f64,
bound: f64,
)
where R: VecZnxToMut;
}Expand description
§THIS TRAIT IS AN OPEN EXTENSION POINT (unsafe)
- See poulpy-backend/src/cpu_fft64_ref/vec_znx.rs for reference implementation.
- See crate::api::VecZnxAddNormal for corresponding public API.
§Safety crate::doc::backend_safety for safety contract.
Required Methods§
fn vec_znx_add_normal_impl<R>(
module: &Module<B>,
base2k: usize,
res: &mut R,
res_col: usize,
k: usize,
source: &mut Source,
sigma: f64,
bound: f64,
)where
R: VecZnxToMut,
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.