pub trait TaylorShift {
type Value;
// Required method
fn taylor_shift(self, c: Self::Value) -> Self;
}Expand description
Polynomial Taylor shift
Required Associated Types§
Required Methods§
Sourcefn taylor_shift(self, c: Self::Value) -> Self
fn taylor_shift(self, c: Self::Value) -> Self
多項式 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$}を求める。
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.