pub trait VecZnxSplitRing<B: Backend> {
// Required method
fn vec_znx_split_ring<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§
Sourcefn vec_znx_split_ring<R, A>(
&self,
res: &mut [R],
res_col: usize,
a: &A,
a_col: usize,
scratch: &mut Scratch<B>,
)where
R: VecZnxToMut,
A: VecZnxToRef,
fn vec_znx_split_ring<R, A>(
&self,
res: &mut [R],
res_col: usize,
a: &A,
a_col: usize,
scratch: &mut Scratch<B>,
)where
R: VecZnxToMut,
A: VecZnxToRef,
Splits the selected columns of b into subrings and copies them them into the selected column of res.
§Panics
This method requires that all crate::layouts::VecZnx of b have the same ring degree and that b.n() * b.len() <= a.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.