Trait snarkvm_marlin::ahp::ahp::EvaluationsProvider [−][src]
pub trait EvaluationsProvider<F: Field> { fn get_lc_eval(
&self,
lc: &LinearCombination<F>,
point: F
) -> Result<F, AHPError>; }
Expand description
Abstraction that provides evaluations of (linear combinations of) polynomials
Intended to provide a common interface for both the prover and the verifier
when constructing linear combinations via AHPForR1CS::construct_linear_combinations
.
Required methods
fn get_lc_eval(
&self,
lc: &LinearCombination<F>,
point: F
) -> Result<F, AHPError>
[src]
fn get_lc_eval(
&self,
lc: &LinearCombination<F>,
point: F
) -> Result<F, AHPError>
[src]Get the evaluation of linear combination lc
at point
.