pub struct PeriodicLdeTable<F> { /* private fields */ }Expand description
Compact storage for periodic column values on the LDE domain.
Instead of materializing the full LDE-sized table, stores only extended_height rows
(where extended_height = max_period × blowup) and uses modular indexing to access values.
All periodic columns are padded to the maximum period before extrapolation, creating a rectangular matrix for cache-friendly row-wise access.
§Invariants
- All periods must be powers of 2 (see module-level documentation)
- Height is always
max_period × blowup(both powers of 2, so height is power of 2)
Implementations§
Source§impl<F: Clone + Send + Sync> PeriodicLdeTable<F>
impl<F: Clone + Send + Sync> PeriodicLdeTable<F>
Sourcepub const fn new(values: RowMajorMatrix<F>) -> Self
pub const fn new(values: RowMajorMatrix<F>) -> Self
Create a new periodic LDE table from extrapolated values.
The matrix should have height = max_period × blowup and width = num_periodic_columns.
Trait Implementations§
Source§impl<F: Clone> Clone for PeriodicLdeTable<F>
impl<F: Clone> Clone for PeriodicLdeTable<F>
Source§fn clone(&self) -> PeriodicLdeTable<F>
fn clone(&self) -> PeriodicLdeTable<F>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<F> Freeze for PeriodicLdeTable<F>
impl<F> RefUnwindSafe for PeriodicLdeTable<F>where
F: RefUnwindSafe,
impl<F> Send for PeriodicLdeTable<F>where
F: Send,
impl<F> Sync for PeriodicLdeTable<F>where
F: Sync,
impl<F> Unpin for PeriodicLdeTable<F>where
F: Unpin,
impl<F> UnsafeUnpin for PeriodicLdeTable<F>
impl<F> UnwindSafe for PeriodicLdeTable<F>where
F: 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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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