Skip to main content

MLEHelper

Trait MLEHelper 

Source
pub trait MLEHelper<F> {
    // Required method
    fn from_evaluations(evaluations: &[F]) -> Self;
}
Expand description

MLEHelper provides functionality for multilinear extensions.

Required Methods§

Source

fn from_evaluations(evaluations: &[F]) -> Self

MLEHelper::from_evaluations builds a multilinear extension from a (possibly non-power-of-two) vector of evaluations, padding with zeros up to the next power of two.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<F: Field> MLEHelper<F> for DenseMultilinearExtension<F>

Source§

fn from_evaluations(evaluations: &[F]) -> Self

Implementors§