Skip to main content

Module tables

Module tables 

Source

Re-exportsยง

use alloc::vec; ๐Ÿ”’
use alloc::vec; ๐Ÿ”’
use alloc::vec::Vec; ๐Ÿ”’
use ark_ff::FftField; ๐Ÿ”’
use ark_ff::One; ๐Ÿ”’
use ark_ff::Zero; ๐Ÿ”’
use core::cmp::Ordering; ๐Ÿ”’
use poly_commitment::PolyComm; ๐Ÿ”’
use serde::Deserialize; ๐Ÿ”’
use serde::Deserialize; ๐Ÿ”’
use serde::Serialize; ๐Ÿ”’
use serde::Serialize; ๐Ÿ”’

Modulesยง

caml
range_check
Range check table
xor

Structsยง

GateLookupTables
Enumerates the different โ€˜fixedโ€™ lookup tables used by individual gates
LookupTable
A table of values that can be used for a lookup, along with the ID for the table.

Enumsยง

GateLookupTable
Enumerates the different โ€˜fixedโ€™ lookup tables used by individual gates

Constantsยง

RANGE_CHECK_TABLE_ID
The range check table ID.
XOR_TABLE_ID
The table ID associated with the XOR lookup table.

Functionsยง

combine_table
Same as combine_table_entry, but for an entire table. The function will panic if given an empty table (0 columns).
combine_table_entry
Letโ€™s say we want to do a lookup in a โ€œvector-valuedโ€ table T: Vec<[F; n]> (here I am using [F; n] to model a vector of length n).
get_table
Returns the lookup table associated to a GateLookupTable.