Trait MultipointEval

Source
pub trait MultipointEval {
    type Poly;
    type Value;

    // Required method
    fn multipoint_eval(
        &self,
        a: Self::Poly,
        p: Vec<Self::Value>,
    ) -> Vec<Self::Value>;
}
Expand description

多項式の多点評価

Required Associated Types§

Source

type Poly

多項式の型

Source

type Value

多項式の係数の型

Required Methods§

Source

fn multipoint_eval( &self, a: Self::Poly, p: Vec<Self::Value>, ) -> Vec<Self::Value>

多項式の多点評価

多項式$f(x)$に値$p_0, p_1, \cdots, p_m$を代入した結果$f(p_0), f(p_1), \cdots, f(p_m)$を求める。

Implementors§

Source§

impl<const P: u32, const PR: u32> MultipointEval for PolynomialOperator<'_, P, PR>