pub struct MasterMainTable {
pub num_trace_randomizers: usize,
/* private fields */
}Expand description
The Master Main Table, as described in the module documentation.
Fields§
§num_trace_randomizers: usizeImplementations§
Source§impl MasterMainTable
impl MasterMainTable
Sourcepub const NUM_COLUMNS: usize = 379usize
pub const NUM_COLUMNS: usize = 379usize
The number of columns in this table.
Sourcepub fn pad(&mut self)
pub fn pad(&mut self)
Pad the trace to the next power of two using the various, table-specific padding rules. All tables must have the same height for reasons of verifier efficiency. Furthermore, that height must be a power of two for reasons of prover efficiency. Concretely, the Number Theory Transform (NTT) performed by the prover is particularly efficient over the used base field when the number of rows is a power of two.
Sourcepub fn extend(&self, challenges: &Challenges) -> MasterAuxTable
pub fn extend(&self, challenges: &Challenges) -> MasterAuxTable
Create a MasterAuxTable from a MasterMainTable by .extend()ing
each individual main table. The .extend() for each table is
specific to that table, but always involves adding some number of
columns.
Sourcepub fn table(&self, table_id: TableId) -> ArrayView2<'_, BFieldElement>
pub fn table(&self, table_id: TableId) -> ArrayView2<'_, BFieldElement>
A view of the specified table, without any randomizers.
Sourcepub fn table_mut(
&mut self,
table_id: TableId,
) -> ArrayViewMut2<'_, BFieldElement>
pub fn table_mut( &mut self, table_id: TableId, ) -> ArrayViewMut2<'_, BFieldElement>
A mutable view of the specified table, without any randomizers.
Trait Implementations§
Source§impl Clone for MasterMainTable
impl Clone for MasterMainTable
Source§fn clone(&self) -> MasterMainTable
fn clone(&self) -> MasterMainTable
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for MasterMainTable
impl RefUnwindSafe for MasterMainTable
impl Send for MasterMainTable
impl Sync for MasterMainTable
impl Unpin for MasterMainTable
impl UnwindSafe for MasterMainTable
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
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>
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