Struct snarkvm_algorithms::snark::marlin::Evaluations
source · pub struct Evaluations<F: PrimeField> {
pub z_b_evals: Vec<Vec<F>>,
pub g_1_eval: F,
pub g_a_evals: Vec<F>,
pub g_b_evals: Vec<F>,
pub g_c_evals: Vec<F>,
}
Fields§
§z_b_evals: Vec<Vec<F>>
Evaluations of z_b_i_j
’s at beta
.
g_1_eval: F
Evaluation of g_1
at beta
.
g_a_evals: Vec<F>
Evaluation of g_a_i
’s at beta
.
g_b_evals: Vec<F>
Evaluation of g_b_i
’s at gamma
.
g_c_evals: Vec<F>
Evaluation of g_c_i
’s at gamma
.
Implementations§
source§impl<F: PrimeField> Evaluations<F>
impl<F: PrimeField> Evaluations<F>
pub fn to_field_elements(&self) -> Vec<F>
Trait Implementations§
source§impl<F: Clone + PrimeField> Clone for Evaluations<F>
impl<F: Clone + PrimeField> Clone for Evaluations<F>
source§fn clone(&self) -> Evaluations<F>
fn clone(&self) -> Evaluations<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 + PrimeField> Debug for Evaluations<F>
impl<F: Debug + PrimeField> Debug for Evaluations<F>
source§impl<F: PartialEq + PrimeField> PartialEq<Evaluations<F>> for Evaluations<F>
impl<F: PartialEq + PrimeField> PartialEq<Evaluations<F>> for Evaluations<F>
source§fn eq(&self, other: &Evaluations<F>) -> bool
fn eq(&self, other: &Evaluations<F>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<F: PrimeField> Valid for Evaluations<F>
impl<F: PrimeField> Valid for Evaluations<F>
fn check(&self) -> Result<(), SerializationError>
fn batch_check<'a>( batch: impl Iterator<Item = &'a Self> + Send ) -> Result<(), SerializationError>where Self: 'a,
impl<F: Eq + PrimeField> Eq for Evaluations<F>
impl<F: PrimeField> StructuralEq for Evaluations<F>
impl<F: PrimeField> StructuralPartialEq for Evaluations<F>
Auto Trait Implementations§
impl<F> RefUnwindSafe for Evaluations<F>where F: RefUnwindSafe,
impl<F> Send for Evaluations<F>
impl<F> Sync for Evaluations<F>
impl<F> Unpin for Evaluations<F>where F: Unpin,
impl<F> UnwindSafe for Evaluations<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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.