pub struct DensePolynomialVar<F: PrimeField> {
    pub coeffs: Vec<FpVar<F>>,
}
Expand description

Stores a polynomial in coefficient form, where coeffcient is represented by a list of Fpvar<F>.

Fields§

§coeffs: Vec<FpVar<F>>

The coefficient of x^i is stored at location i in self.coeffs.

Implementations§

Constructs a new polynomial from a list of coefficients.

Constructs a new polynomial from a list of coefficients.

Evaluates self at the given point and just gives you the gadget for the result. Caution for use in holographic lincheck: The output has 2 entries in one matrix

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

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more