#[repr(C)]pub struct sumcheck_descriptor {
pub mles: *const c_void,
pub product_table: *const c_void,
pub product_terms: *const c_uint,
pub n: c_uint,
pub num_mles: c_uint,
pub num_products: c_uint,
pub num_product_terms: c_uint,
pub round_degree: c_uint,
}Expand description
Describe inputs to a sumcheck proof.
The sumcheck proof is constructed using a polynomial of the form
sum_i^num_products {mult_i x prod_j^product_length_i f_j(X1, …, Xr)}
where f_j(X1, …, Xr) denotes a multilinear extension of r variables.
Pointer types are dependent on the field type as specified by the field id.
We will let FIELD denote the field type when describing fields.
Fields§
§mles: *const c_void§product_table: *const c_void§product_terms: *const c_uint§n: c_uint§num_mles: c_uint§num_products: c_uint§num_product_terms: c_uintThe total number of total product terms in the sumcheck polynomial
round_degree: c_uintTrait Implementations§
Source§impl Clone for sumcheck_descriptor
impl Clone for sumcheck_descriptor
Source§fn clone(&self) -> sumcheck_descriptor
fn clone(&self) -> sumcheck_descriptor
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for sumcheck_descriptor
impl Debug for sumcheck_descriptor
impl Copy for sumcheck_descriptor
Auto Trait Implementations§
impl Freeze for sumcheck_descriptor
impl RefUnwindSafe for sumcheck_descriptor
impl !Send for sumcheck_descriptor
impl !Sync for sumcheck_descriptor
impl Unpin for sumcheck_descriptor
impl UnwindSafe for sumcheck_descriptor
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