Trait TaylorShift

Source
pub trait TaylorShift {
    type Poly;
    type Value;

    // Required method
    fn taylor_shift(&self, p: Self::Poly, c: Self::Value) -> Self::Poly;
}
Expand description

Polynomial Taylor shift

Required Associated Types§

Source

type Poly

多項式の型

Source

type Value

多項式の係数の型

Required Methods§

Source

fn taylor_shift(&self, p: Self::Poly, c: Self::Value) -> Self::Poly

多項式 p = $f(x) = a_0 + a_1x + \cdots + a_nx^n$に対して、
多項式 $f(x + c) = a_0 + a_1(x + c) + \cdots + a_n(x + c)^n = b_0 + b_0x + \cdots + b_nx^n$ を満たす、数列{$b_i$}を求める。

Implementors§

Source§

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