pub struct LinearTransformationDiagonal<P> {
pub baby: i64,
pub plaintext: P,
}Expand description
One non-zero diagonal of the linear map, attached to a giant step.
plaintext is the pre-rotated diagonal u~_{j,k} = rot(diag_{n1*j+k}, -n1*j),
already encoded as a plaintext polynomial. baby is the baby-step slot
rotation k whose prepared rot(v, k) it multiplies.
Fields§
§baby: i64Baby-step slot rotation.
plaintext: PPre-rotated diagonal, encoded as a plaintext polynomial.
Auto Trait Implementations§
impl<P> Freeze for LinearTransformationDiagonal<P>where
P: Freeze,
impl<P> RefUnwindSafe for LinearTransformationDiagonal<P>where
P: RefUnwindSafe,
impl<P> Send for LinearTransformationDiagonal<P>where
P: Send,
impl<P> Sync for LinearTransformationDiagonal<P>where
P: Sync,
impl<P> Unpin for LinearTransformationDiagonal<P>where
P: Unpin,
impl<P> UnsafeUnpin for LinearTransformationDiagonal<P>where
P: UnsafeUnpin,
impl<P> UnwindSafe for LinearTransformationDiagonal<P>where
P: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more