Trait FpsPow

Source
pub trait FpsPow {
    type Output;

    // Required method
    fn fps_pow(self, m: u64) -> Result<Self::Output, &'static str>;
}
Expand description

形式的冪級数の累乗

Required Associated Types§

Source

type Output

戻り値の型

Required Methods§

Source

fn fps_pow(self, m: u64) -> Result<Self::Output, &'static str>

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

Implementors§