Type Definition kimchi::circuits::expr::ConstantExpr
source · pub type ConstantExpr<F> = Operations<ConstantExprInner<F>>;
Implementations§
source§impl<F: Field> ConstantExpr<F>
impl<F: Field> ConstantExpr<F>
sourcepub fn value(&self, c: &Constants<F>, chals: &Challenges<F>) -> F
pub fn value(&self, c: &Constants<F>, chals: &Challenges<F>) -> F
Evaluate the given constant expression to a field element.
Trait Implementations§
source§impl<F> From<ChallengeTerm> for ConstantExpr<F>
impl<F> From<ChallengeTerm> for ConstantExpr<F>
source§fn from(x: ChallengeTerm) -> Self
fn from(x: ChallengeTerm) -> Self
Converts to this type from the input type.
source§impl<F> From<ConstantTerm<F>> for ConstantExpr<F>
impl<F> From<ConstantTerm<F>> for ConstantExpr<F>
source§fn from(x: ConstantTerm<F>) -> Self
fn from(x: ConstantTerm<F>) -> Self
Converts to this type from the input type.