Trait FpsPow

Source
pub trait FpsPow {
    type Poly;

    // Required method
    fn fps_pow(&self, f: Self::Poly, m: u64) -> Self::Poly;
}
Expand description

形式的冪級数の累乗

Required Associated Types§

Source

type Poly

多項式の型

Required Methods§

Source

fn fps_pow(&self, f: Self::Poly, m: u64) -> Self::Poly

$f(x) = \sum_0^{n-1} a_ix^i$について、$(f(x))^m$の先頭$n$項を求める。

Implementors§

Source§

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