Trait ark_poly_commit::DenseUVPolynomial
source · pub trait DenseUVPolynomial<F>: Polynomial<F, Point = F>where
F: Field,{
// Required methods
fn from_coefficients_slice(coeffs: &[F]) -> Self;
fn from_coefficients_vec(coeffs: Vec<F, Global>) -> Self;
fn coeffs(&self) -> &[F];
fn rand<R>(d: usize, rng: &mut R) -> Self
where R: Rng;
}
Expand description
Describes the interface for univariate polynomials
Required Methods§
sourcefn from_coefficients_slice(coeffs: &[F]) -> Self
fn from_coefficients_slice(coeffs: &[F]) -> Self
Constructs a new polynomial from a list of coefficients.
sourcefn from_coefficients_vec(coeffs: Vec<F, Global>) -> Self
fn from_coefficients_vec(coeffs: Vec<F, Global>) -> Self
Constructs a new polynomial from a list of coefficients.