GLWEExternalProductInternal

Trait GLWEExternalProductInternal 

Source
pub trait GLWEExternalProductInternal<BE: Backend> {
    // Required methods
    fn glwe_external_product_internal_tmp_bytes<R, A, B>(
        &self,
        res_infos: &R,
        a_infos: &A,
        b_infos: &B,
    ) -> usize
       where R: GLWEInfos,
             A: GLWEInfos,
             B: GGSWInfos;
    fn glwe_external_product_internal<DR, A, G>(
        &self,
        res_dft: VecZnxDft<DR, BE>,
        a: &A,
        ggsw: &G,
        scratch: &mut Scratch<BE>,
    ) -> VecZnxBig<DR, BE>
       where DR: DataMut,
             A: GLWEToRef,
             G: GGSWPreparedToRef<BE>,
             Scratch<BE>: ScratchTakeCore<BE>;
}

Required Methods§

Source

fn glwe_external_product_internal_tmp_bytes<R, A, B>( &self, res_infos: &R, a_infos: &A, b_infos: &B, ) -> usize
where R: GLWEInfos, A: GLWEInfos, B: GGSWInfos,

Source

fn glwe_external_product_internal<DR, A, G>( &self, res_dft: VecZnxDft<DR, BE>, a: &A, ggsw: &G, scratch: &mut Scratch<BE>, ) -> VecZnxBig<DR, BE>
where DR: DataMut, A: GLWEToRef, G: GGSWPreparedToRef<BE>, Scratch<BE>: ScratchTakeCore<BE>,

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.

Implementations on Foreign Types§

Source§

impl<BE: Backend> GLWEExternalProductInternal<BE> for Module<BE>

Source§

fn glwe_external_product_internal_tmp_bytes<R, A, B>( &self, res_infos: &R, a_infos: &A, b_infos: &B, ) -> usize
where R: GLWEInfos, A: GLWEInfos, B: GGSWInfos,

Source§

fn glwe_external_product_internal<DR, A, G>( &self, res_dft: VecZnxDft<DR, BE>, a: &A, ggsw: &G, scratch: &mut Scratch<BE>, ) -> VecZnxBig<DR, BE>
where DR: DataMut, A: GLWEToRef, G: GGSWPreparedToRef<BE>, Scratch<BE>: ScratchTakeCore<BE>,

Implementors§