Struct ark_r1cs_std::poly::polynomial::univariate::dense::DensePolynomialVar[][src]

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

Performs the conversion.

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

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.