pub struct GkrSumcheckFirstRoundEvaluator<'a, PW, DomainField, C, M>where
PW: PackedField<Scalar: ExtensionField<DomainField>>,
DomainField: Field,
C: CompositionPoly<PW>,
M: MultilinearPoly<PW> + Send + Sync,{
pub composition: &'a C,
pub domain_points: &'a [DomainField],
pub interpolation_domain: &'a InterpolationDomain<DomainField>,
pub degree: usize,
pub eq_ind: &'a MultilinearExtensionBorrowed<'a, PW>,
pub poly_mle: &'a M,
pub gkr_challenge: PW::Scalar,
}
Fields§
§composition: &'a C
§domain_points: &'a [DomainField]
§interpolation_domain: &'a InterpolationDomain<DomainField>
§degree: usize
§eq_ind: &'a MultilinearExtensionBorrowed<'a, PW>
§poly_mle: &'a M
§gkr_challenge: PW::Scalar
Trait Implementations§
source§impl<'a, PW, DomainField, C, M> AbstractSumcheckEvaluator<PW> for GkrSumcheckFirstRoundEvaluator<'a, PW, DomainField, C, M>where
DomainField: Field,
PW: PackedExtension<DomainField, Scalar: ExtensionField<DomainField>>,
C: CompositionPoly<PW>,
M: MultilinearPoly<PW> + Send + Sync,
impl<'a, PW, DomainField, C, M> AbstractSumcheckEvaluator<PW> for GkrSumcheckFirstRoundEvaluator<'a, PW, DomainField, C, M>where
DomainField: Field,
PW: PackedExtension<DomainField, Scalar: ExtensionField<DomainField>>,
C: CompositionPoly<PW>,
M: MultilinearPoly<PW> + Send + Sync,
type VertexState = ()
source§fn n_round_evals(&self) -> usize
fn n_round_evals(&self) -> usize
The number of points to evaluate at.
source§fn process_vertex(
&self,
i: usize,
_vertex_state: Self::VertexState,
evals_0: &[PW],
evals_1: &[PW],
evals_z: &mut [PW],
round_evals: &mut [PW],
)
fn process_vertex( &self, i: usize, _vertex_state: Self::VertexState, evals_0: &[PW], evals_1: &[PW], evals_z: &mut [PW], round_evals: &mut [PW], )
Process and update the round evaluations with the evaluations at a hypercube vertex. Read more
Auto Trait Implementations§
impl<'a, PW, DomainField, C, M> Freeze for GkrSumcheckFirstRoundEvaluator<'a, PW, DomainField, C, M>where
<DomainField as WithUnderlier>::Underlier: Sized,
<PW as PackedField>::Scalar: Sized + Freeze,
<<PW as PackedField>::Scalar as WithUnderlier>::Underlier: Sized,
impl<'a, PW, DomainField, C, M> RefUnwindSafe for GkrSumcheckFirstRoundEvaluator<'a, PW, DomainField, C, M>where
<DomainField as WithUnderlier>::Underlier: Sized,
<PW as PackedField>::Scalar: Sized + RefUnwindSafe,
<<PW as PackedField>::Scalar as WithUnderlier>::Underlier: Sized,
C: RefUnwindSafe,
M: RefUnwindSafe,
DomainField: RefUnwindSafe,
PW: RefUnwindSafe,
impl<'a, PW, DomainField, C, M> Send for GkrSumcheckFirstRoundEvaluator<'a, PW, DomainField, C, M>where
<DomainField as WithUnderlier>::Underlier: Sized,
<PW as PackedField>::Scalar: Sized,
<<PW as PackedField>::Scalar as WithUnderlier>::Underlier: Sized,
impl<'a, PW, DomainField, C, M> Sync for GkrSumcheckFirstRoundEvaluator<'a, PW, DomainField, C, M>where
<DomainField as WithUnderlier>::Underlier: Sized,
<PW as PackedField>::Scalar: Sized,
<<PW as PackedField>::Scalar as WithUnderlier>::Underlier: Sized,
impl<'a, PW, DomainField, C, M> Unpin for GkrSumcheckFirstRoundEvaluator<'a, PW, DomainField, C, M>where
<DomainField as WithUnderlier>::Underlier: Sized,
<PW as PackedField>::Scalar: Sized + Unpin,
<<PW as PackedField>::Scalar as WithUnderlier>::Underlier: Sized,
impl<'a, PW, DomainField, C, M> UnwindSafe for GkrSumcheckFirstRoundEvaluator<'a, PW, DomainField, C, M>where
<DomainField as WithUnderlier>::Underlier: Sized,
<PW as PackedField>::Scalar: Sized + UnwindSafe,
<<PW as PackedField>::Scalar as WithUnderlier>::Underlier: Sized,
C: RefUnwindSafe,
M: RefUnwindSafe,
DomainField: RefUnwindSafe,
PW: RefUnwindSafe,
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