pub struct Table<F: Field>(/* private fields */);Expand description
A column-major table of multilinear polynomials sharing a common arity.
§Invariants
- At least one column.
- Every column has the same number of variables.
Implementations§
Source§impl<F: Field> Table<F>
impl<F: Field> Table<F>
Sourcepub fn new(polys: Vec<Poly<F>>) -> Self
pub fn new(polys: Vec<Poly<F>>) -> Self
Creates a table from one or more polynomials.
§Panics
- Column list must not be empty.
- Every column must share the same arity.
Sourcepub fn num_variables(&self) -> usize
pub fn num_variables(&self) -> usize
Returns the shared number of variables.
Sourcepub fn shape(&self) -> TableShape
pub fn shape(&self) -> TableShape
Returns the verifier shape of this table.
Trait Implementations§
Auto Trait Implementations§
impl<F> Freeze for Table<F>
impl<F> RefUnwindSafe for Table<F>where
F: RefUnwindSafe,
impl<F> Send for Table<F>
impl<F> Sync for Table<F>
impl<F> Unpin for Table<F>where
F: Unpin,
impl<F> UnsafeUnpin for Table<F>
impl<F> UnwindSafe for Table<F>where
F: 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,
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