Trait VecZnxMerge

Source
pub trait VecZnxMerge {
    // Required method
    fn vec_znx_merge<R, A>(
        &self,
        res: &mut R,
        res_col: usize,
        a: &[A],
        a_col: usize,
    )
       where R: VecZnxToMut,
             A: VecZnxToRef;
}

Required Methods§

Source

fn vec_znx_merge<R, A>( &self, res: &mut R, res_col: usize, a: &[A], a_col: usize, )
where R: VecZnxToMut, A: VecZnxToRef,

Merges the subrings of the selected column of a into the selected column of res.

§Panics

This method requires that all crate::layouts::VecZnx of a have the same ring degree and that a.n() * a.len() <= b.n()

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§

Source§

impl<B> VecZnxMerge for Module<B>
where B: Backend + VecZnxMergeImpl<B>,