Type Definition kimchi::circuits::expr::ConstantExpr

source ·
pub type ConstantExpr<F> = Operations<ConstantExprInner<F>>;

Implementations§

source§

impl<F: Field> ConstantExpr<F>

source

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>

source§

fn from(x: ChallengeTerm) -> Self

Converts to this type from the input type.
source§

impl<F> From<ConstantTerm<F>> for ConstantExpr<F>

source§

fn from(x: ConstantTerm<F>) -> Self

Converts to this type from the input type.
source§

impl<F: Field> From<u64> for ConstantExpr<F>

source§

fn from(x: u64) -> Self

Converts to this type from the input type.