pub struct DomainConstantEvaluations<F: FftField> {
pub poly_x_d1: E<F, D<F>>,
pub constant_1_d4: E<F, D<F>>,
pub constant_1_d8: E<F, D<F>>,
pub vanishes_on_zero_knowledge_and_previous_rows: E<F, D<F>>,
pub permutation_vanishing_polynomial_l: E<F, D<F>>,
pub permutation_vanishing_polynomial_m: DP<F>,
}
Expand description
pre-computed polynomials that depend only on the chosen field and domain
Fields§
§poly_x_d1: E<F, D<F>>
1-st Lagrange evaluated over domain.d8
constant_1_d4: E<F, D<F>>
0-th Lagrange evaluated over domain.d4
constant_1_d8: E<F, D<F>>
0-th Lagrange evaluated over domain.d8
vanishes_on_zero_knowledge_and_previous_rows: E<F, D<F>>
the polynomial that vanishes on the zero-knowledge rows and the row before
permutation_vanishing_polynomial_l: E<F, D<F>>
zero-knowledge polynomial over domain.d8
permutation_vanishing_polynomial_m: DP<F>
Implementations§
source§impl<F: FftField> DomainConstantEvaluations<F>
impl<F: FftField> DomainConstantEvaluations<F>
pub fn create(domain: EvaluationDomains<F>, zk_rows: u64) -> Option<Self>
Trait Implementations§
source§impl<F: Clone + FftField> Clone for DomainConstantEvaluations<F>
impl<F: Clone + FftField> Clone for DomainConstantEvaluations<F>
source§fn clone(&self) -> DomainConstantEvaluations<F>
fn clone(&self) -> DomainConstantEvaluations<F>
Returns a copy 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<F: Debug + FftField> Debug for DomainConstantEvaluations<F>
impl<F: Debug + FftField> Debug for DomainConstantEvaluations<F>
source§impl<'de, F: FftField> Deserialize<'de> for DomainConstantEvaluations<F>
impl<'de, F: FftField> Deserialize<'de> for DomainConstantEvaluations<F>
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl<F> RefUnwindSafe for DomainConstantEvaluations<F>where F: RefUnwindSafe,
impl<F> Send for DomainConstantEvaluations<F>
impl<F> Sync for DomainConstantEvaluations<F>
impl<F> Unpin for DomainConstantEvaluations<F>where F: Unpin,
impl<F> UnwindSafe for DomainConstantEvaluations<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