pub struct ZerocheckRoundEvals<F: Field> {
pub evals: Vec<F>,
}
Expand description
Zerocheck round polynomial in Lagrange basis
Has (composition_max_degree - 1) * 2^skip_rounds
length, where first 2^skip_rounds
evaluations are assumed to be zero. Addition of Lagrange basis representations only
makes sense for the polynomials in the same domain.
Fields§
§evals: Vec<F>
Implementations§
Source§impl<F: Field> ZerocheckRoundEvals<F>
impl<F: Field> ZerocheckRoundEvals<F>
Sourcepub fn zeros(len: usize) -> Self
pub fn zeros(len: usize) -> Self
A Lagrange representation of a zero polynomial, on a given domain.
Sourcepub fn add_assign_lagrange(&mut self, rhs: &Self) -> Result<(), Error>
pub fn add_assign_lagrange(&mut self, rhs: &Self) -> Result<(), Error>
An assigning addition of two polynomials in Lagrange basis. May fail,
thus it’s not simply an AddAssign
overload due to signature mismatch.
Trait Implementations§
Source§impl<F: Clone + Field> Clone for ZerocheckRoundEvals<F>
impl<F: Clone + Field> Clone for ZerocheckRoundEvals<F>
Source§fn clone(&self) -> ZerocheckRoundEvals<F>
fn clone(&self) -> ZerocheckRoundEvals<F>
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 moreSource§impl<F: Field> Mul<F> for ZerocheckRoundEvals<F>
impl<F: Field> Mul<F> for ZerocheckRoundEvals<F>
Source§impl<F: Field> MulAssign<F> for ZerocheckRoundEvals<F>
impl<F: Field> MulAssign<F> for ZerocheckRoundEvals<F>
Source§fn mul_assign(&mut self, rhs: F)
fn mul_assign(&mut self, rhs: F)
Performs the
*=
operation. Read moreAuto Trait Implementations§
impl<F> Freeze for ZerocheckRoundEvals<F>
impl<F> RefUnwindSafe for ZerocheckRoundEvals<F>
impl<F> Send for ZerocheckRoundEvals<F>
impl<F> Sync for ZerocheckRoundEvals<F>
impl<F> Unpin for ZerocheckRoundEvals<F>
impl<F> UnwindSafe for ZerocheckRoundEvals<F>
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