pub struct RelaxedWitness<G: CommitmentCurve, W: Witness<G>> {
pub extended_witness: ExtendedWitness<G, W>,
pub error_vec: Evaluations<G::ScalarField, Radix2EvaluationDomain<G::ScalarField>>,
}
Fields§
§extended_witness: ExtendedWitness<G, W>
The original witness, extended with the columns added by quadriticization.
error_vec: Evaluations<G::ScalarField, Radix2EvaluationDomain<G::ScalarField>>
The error vector, introduced when homogenizing the polynomials.
For degree 3 folding, it is E1 - c T1 - c^2 T2 + c^3 E2
Implementations§
Source§impl<G: CommitmentCurve, W: Witness<G>> RelaxedWitness<G, W>
impl<G: CommitmentCurve, W: Witness<G>> RelaxedWitness<G, W>
Sourcepub fn get_extended_column(
&self,
i: &usize,
) -> Option<&Evaluations<G::ScalarField, Radix2EvaluationDomain<G::ScalarField>>>
pub fn get_extended_column( &self, i: &usize, ) -> Option<&Evaluations<G::ScalarField, Radix2EvaluationDomain<G::ScalarField>>>
Provides access to the extra columns added by quadraticization
Trait Implementations§
Source§impl<G: Clone + CommitmentCurve, W: Clone + Witness<G>> Clone for RelaxedWitness<G, W>where
G::ScalarField: Clone,
impl<G: Clone + CommitmentCurve, W: Clone + Witness<G>> Clone for RelaxedWitness<G, W>where
G::ScalarField: Clone,
Source§fn clone(&self) -> RelaxedWitness<G, W>
fn clone(&self) -> RelaxedWitness<G, W>
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<G: Debug + CommitmentCurve, W: Debug + Witness<G>> Debug for RelaxedWitness<G, W>where
G::ScalarField: Debug,
impl<G: Debug + CommitmentCurve, W: Debug + Witness<G>> Debug for RelaxedWitness<G, W>where
G::ScalarField: Debug,
Source§impl<G: CommitmentCurve, W: Witness<G>> Foldable<<G as AffineRepr>::ScalarField> for RelaxedWitness<G, W>
A relaxed/homogenized witness can be folded.
impl<G: CommitmentCurve, W: Witness<G>> Foldable<<G as AffineRepr>::ScalarField> for RelaxedWitness<G, W>
A relaxed/homogenized witness can be folded.
Source§impl<G: CommitmentCurve, W: Witness<G>> RelaxableWitness<G, W> for RelaxedWitness<G, W>
impl<G: CommitmentCurve, W: Witness<G>> RelaxableWitness<G, W> for RelaxedWitness<G, W>
fn relax( self, _zero_poly: &Evaluations<G::ScalarField, Radix2EvaluationDomain<G::ScalarField>>, ) -> RelaxedWitness<G, W>
Auto Trait Implementations§
impl<G, W> Freeze for RelaxedWitness<G, W>
impl<G, W> RefUnwindSafe for RelaxedWitness<G, W>where
W: RefUnwindSafe,
<G as AffineRepr>::ScalarField: RefUnwindSafe,
impl<G, W> Send for RelaxedWitness<G, W>where
W: Send,
impl<G, W> Sync for RelaxedWitness<G, W>where
W: Sync,
impl<G, W> Unpin for RelaxedWitness<G, W>
impl<G, W> UnwindSafe for RelaxedWitness<G, W>
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