Trait ark_poly_commit::UVPolynomial[][src]

pub trait UVPolynomial<F>: Polynomial<F, Point = F> where
    F: Field
{ fn from_coefficients_slice(coeffs: &[F]) -> Self;
fn from_coefficients_vec(coeffs: Vec<F, Global>) -> Self;
fn coeffs(&self) -> &[F]

Notable traits for &'_ [u8]

impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]
;
fn rand<R>(d: usize, rng: &mut R) -> Self
    where
        R: Rng
; }
Expand description

Describes the interface for univariate polynomials

Required methods

Constructs a new polynomial from a list of coefficients.

Constructs a new polynomial from a list of coefficients.

Returns the coefficients of self

Returns a univariate polynomial of degree d where each coefficient is sampled uniformly at random.

Implementations on Foreign Types

Constructs a new polynomial from a list of coefficients.

Constructs a new polynomial from a list of coefficients.

Returns the coefficients of self

Outputs a univariate polynomial of degree d where each coefficient is sampled uniformly at random.

Implementors