pub struct NeighborsLastReference<DC> {
pub domain_context: DC,
}Expand description
Reference implementation of AdditiveNTT.
This is slow. Do not use in production.
Fields§
§domain_context: DCTrait Implementations§
Source§impl<DC: DomainContext> AdditiveNTT for NeighborsLastReference<DC>
impl<DC: DomainContext> AdditiveNTT for NeighborsLastReference<DC>
type Field = <DC as DomainContext>::Field
Source§fn forward_transform<P: PackedField<Scalar = Self::Field>>(
&self,
data: FieldSliceMut<'_, P>,
skip_early: usize,
skip_late: usize,
)
fn forward_transform<P: PackedField<Scalar = Self::Field>>( &self, data: FieldSliceMut<'_, P>, skip_early: usize, skip_late: usize, )
Source§fn inverse_transform<P: PackedField<Scalar = Self::Field>>(
&self,
data: FieldSliceMut<'_, P>,
skip_early: usize,
skip_late: usize,
)
fn inverse_transform<P: PackedField<Scalar = Self::Field>>( &self, data: FieldSliceMut<'_, P>, skip_early: usize, skip_late: usize, )
Inverse transformation of
Self::forward_transform. Read moreSource§fn domain_context(&self) -> &impl DomainContext<Field = DC::Field>
fn domain_context(&self) -> &impl DomainContext<Field = DC::Field>
The associated
DomainContext.Source§fn log_domain_size(&self) -> usize
fn log_domain_size(&self) -> usize
Auto Trait Implementations§
impl<DC> Freeze for NeighborsLastReference<DC>where
DC: Freeze,
impl<DC> RefUnwindSafe for NeighborsLastReference<DC>where
DC: RefUnwindSafe,
impl<DC> Send for NeighborsLastReference<DC>where
DC: Send,
impl<DC> Sync for NeighborsLastReference<DC>where
DC: Sync,
impl<DC> Unpin for NeighborsLastReference<DC>where
DC: Unpin,
impl<DC> UnwindSafe for NeighborsLastReference<DC>where
DC: 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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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