pub struct TableSpec { /* private fields */ }Expand description
Description of a table used to build randomized stacked-sumcheck witnesses.
Implementations§
Source§impl TableSpec
impl TableSpec
Sourcepub fn new(shape: TableShape, point_schedule: PointSchedule) -> Self
pub fn new(shape: TableShape, point_schedule: PointSchedule) -> Self
Builds a table spec from a shape and point-local opening schedule.
§Panics
- Every scheduled polynomial index must be less than the table width.
Sourcepub const fn shape(&self) -> &TableShape
pub const fn shape(&self) -> &TableShape
Returns the logical table shape.
Sourcepub const fn point_schedule(&self) -> &PointSchedule
pub const fn point_schedule(&self) -> &PointSchedule
Returns the point-local opening schedule.
Sourcepub const fn pad_to_min_num_variables(&mut self, min_num_variables: usize)
pub const fn pad_to_min_num_variables(&mut self, min_num_variables: usize)
Pads this table shape to at least min_num_variables.
Trait Implementations§
impl Eq for TableSpec
impl StructuralPartialEq for TableSpec
Auto Trait Implementations§
impl Freeze for TableSpec
impl RefUnwindSafe for TableSpec
impl Send for TableSpec
impl Sync for TableSpec
impl Unpin for TableSpec
impl UnsafeUnpin for TableSpec
impl UnwindSafe for TableSpec
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