GGSWKeyswitch

Trait GGSWKeyswitch 

Source
pub trait GGSWKeyswitch<BE: Backend>
where Self: GLWEKeyswitch<BE> + GGSWExpandRows<BE>,
{ // Provided methods fn ggsw_keyswitch_tmp_bytes<R, A, K, T>( &self, res_infos: &R, a_infos: &A, key_infos: &K, tsk_infos: &T, ) -> usize where R: GGSWInfos, A: GGSWInfos, K: GGLWEInfos, T: GGLWEInfos { ... } fn ggsw_keyswitch<R, A, K, T>( &self, res: &mut R, a: &A, key: &K, tsk: &T, scratch: &mut Scratch<BE>, ) where R: GGSWToMut, A: GGSWToRef, K: GGLWEPreparedToRef<BE>, T: GLWETensorKeyPreparedToRef<BE>, Scratch<BE>: ScratchTakeCore<BE> { ... } fn ggsw_keyswitch_inplace<R, K, T>( &self, res: &mut R, key: &K, tsk: &T, scratch: &mut Scratch<BE>, ) where R: GGSWToMut, K: GGLWEPreparedToRef<BE>, T: GLWETensorKeyPreparedToRef<BE>, Scratch<BE>: ScratchTakeCore<BE> { ... } }

Provided Methods§

Source

fn ggsw_keyswitch_tmp_bytes<R, A, K, T>( &self, res_infos: &R, a_infos: &A, key_infos: &K, tsk_infos: &T, ) -> usize

Source

fn ggsw_keyswitch<R, A, K, T>( &self, res: &mut R, a: &A, key: &K, tsk: &T, scratch: &mut Scratch<BE>, )

Source

fn ggsw_keyswitch_inplace<R, K, T>( &self, res: &mut R, key: &K, tsk: &T, scratch: &mut Scratch<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> GGSWKeyswitch<BE> for Module<BE>
where Self: GLWEKeyswitch<BE> + GGSWExpandRows<BE>,

Implementors§