VecZnxMergeRings

Trait VecZnxMergeRings 

Source
pub trait VecZnxMergeRings<B: Backend> {
    // Required method
    fn vec_znx_merge_rings<R, A>(
        &self,
        res: &mut R,
        res_col: usize,
        a: &[A],
        a_col: usize,
        scratch: &mut Scratch<B>,
    )
       where R: VecZnxToMut,
             A: VecZnxToRef;
}

Required Methods§

Source

fn vec_znx_merge_rings<R, A>( &self, res: &mut R, res_col: usize, a: &[A], a_col: usize, scratch: &mut Scratch<B>, )
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§