pub struct LogupAtRow<E: EvalAtRow> {
pub interaction: usize,
pub cumsum_shift: SecureField,
pub fracs: Vec<Fraction<E::EF, E::EF>>,
pub is_finalized: bool,
pub log_size: u32,
}Expand description
Evaluates constraints for batched logups. These constraint enforce the sum of multiplicity_i / (z + sum_j alpha^j * x_j) = claimed_sum.
Fields§
§interaction: usizeThe index of the interaction used for the cumulative sum columns.
cumsum_shift: SecureFieldThe total sum of all the fractions divided by n_rows.
fracs: Vec<Fraction<E::EF, E::EF>>The evaluation of the last cumulative sum column.
is_finalized: bool§log_size: u32Implementations§
Trait Implementations§
Source§impl<E: EvalAtRow> Default for LogupAtRow<E>
impl<E: EvalAtRow> Default for LogupAtRow<E>
Source§impl<E: EvalAtRow> Drop for LogupAtRow<E>
Ensures that the LogupAtRow is finalized.
LogupAtRow should be finalized exactly once.
impl<E: EvalAtRow> Drop for LogupAtRow<E>
Ensures that the LogupAtRow is finalized. LogupAtRow should be finalized exactly once.
Auto Trait Implementations§
impl<E> Freeze for LogupAtRow<E>
impl<E> RefUnwindSafe for LogupAtRow<E>
impl<E> Send for LogupAtRow<E>
impl<E> Sync for LogupAtRow<E>
impl<E> Unpin for LogupAtRow<E>
impl<E> UnsafeUnpin for LogupAtRow<E>
impl<E> UnwindSafe for LogupAtRow<E>
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> 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