pub enum SumcheckMultilinear<'a, F, Mem: ComputeMemory<F>> {
PreFold(Mem::FSlice<'a>),
PostFold(Mem::FSliceMut<'a>),
}
Expand description
A multilinear polynomial that is being processed by a sumcheck prover.
Variants§
Implementations§
Source§impl<'a, F, Mem: ComputeMemory<F>> SumcheckMultilinear<'a, F, Mem>
impl<'a, F, Mem: ComputeMemory<F>> SumcheckMultilinear<'a, F, Mem>
pub fn const_slice(&self) -> Mem::FSlice<'_>
Trait Implementations§
Source§impl<'a, F: Clone, Mem: Clone + ComputeMemory<F>> Clone for SumcheckMultilinear<'a, F, Mem>
impl<'a, F: Clone, Mem: Clone + ComputeMemory<F>> Clone for SumcheckMultilinear<'a, F, Mem>
Source§fn clone(&self) -> SumcheckMultilinear<'a, F, Mem>
fn clone(&self) -> SumcheckMultilinear<'a, F, Mem>
Returns a copy of the value. Read more
1.0.0 · 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<'a, F, Mem> Freeze for SumcheckMultilinear<'a, F, Mem>where
<Mem as ComputeMemory<F>>::FSlice<'a>: Freeze,
<Mem as ComputeMemory<F>>::FSliceMut<'a>: Freeze,
impl<'a, F, Mem> RefUnwindSafe for SumcheckMultilinear<'a, F, Mem>where
<Mem as ComputeMemory<F>>::FSlice<'a>: RefUnwindSafe,
<Mem as ComputeMemory<F>>::FSliceMut<'a>: RefUnwindSafe,
impl<'a, F, Mem> Send for SumcheckMultilinear<'a, F, Mem>
impl<'a, F, Mem> Sync for SumcheckMultilinear<'a, F, Mem>
impl<'a, F, Mem> Unpin for SumcheckMultilinear<'a, F, Mem>where
<Mem as ComputeMemory<F>>::FSlice<'a>: Unpin,
<Mem as ComputeMemory<F>>::FSliceMut<'a>: Unpin,
impl<'a, F, Mem> UnwindSafe for SumcheckMultilinear<'a, F, Mem>where
<Mem as ComputeMemory<F>>::FSlice<'a>: UnwindSafe,
<Mem as ComputeMemory<F>>::FSliceMut<'a>: 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,
§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