pub trait DenseUVPolynomial<F: Field>: Polynomial<F, Point = F> {
// Required methods
fn from_coefficients_slice(coeffs: &[F]) -> Self;
fn from_coefficients_vec(coeffs: Vec<F>) -> Self;
fn coeffs(&self) -> &[F];
fn rand<R: Rng>(d: usize, rng: &mut R) -> Self;
}
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>) -> Self
fn from_coefficients_vec(coeffs: Vec<F>) -> Self
Constructs a new polynomial from a list of coefficients.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.