Struct bfv12::RelinearizationKey2
source · [−]pub struct RelinearizationKey2 { /* private fields */ }
Expand description
A BFV12 Relinearization Key, Version 2
rlk_0
=([-(a * s + e) + p * s^2]_{p*q})
rlk_1
=a
p
= the amount to scale the modulus, during modulus switching
Trait Implementations
sourceimpl Clone for RelinearizationKey2
impl Clone for RelinearizationKey2
sourcefn clone(&self) -> RelinearizationKey2
fn clone(&self) -> RelinearizationKey2
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl RefUnwindSafe for RelinearizationKey2
impl Send for RelinearizationKey2
impl Sync for RelinearizationKey2
impl Unpin for RelinearizationKey2
impl UnwindSafe for RelinearizationKey2
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more