Struct prio::pcp::gadgets::PolyEval[][src]

pub struct PolyEval<F: FieldElement> { /* fields omitted */ }
Expand description

An arity-1 gadget that evaluates its input on some polynomial.

Implementations

Returns a gadget that evaluates its input on poly. num_calls is the number of times this gadget is called by the validity circuit.

Trait Implementations

Evaluates the gadget on input inp and returns the output.

Evaluate the gadget on input of a sequence of polynomials. The output is written to outp.

Returns the arity of the gadget. This is the length of inp passed to call or call_poly. Read more

Returns the circuit’s arithmetic degree. This determines the minimum length the outp buffer passed to call_poly. Read more

This call is used to downcast a Box<dyn Gadget<F>> to a concrete type.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.