Trait StirlingSecond

Source
pub trait StirlingSecond {
    type Output;

    // Required method
    fn stirling_second(&self, n: usize, k: usize) -> Self::Output;
}
Expand description

第二種スターリング数

Required Associated Types§

Source

type Output

計算結果の型

Required Methods§

Source

fn stirling_second(&self, n: usize, k: usize) -> Self::Output

第二種スターリング数$S(n,k)$を計算する。

Implementors§

Source§

impl<Modulo: FF> StirlingSecond for FactorialTable<Modulo>
where Modulo::Element: FFElem + Copy,

Source§

type Output = <Modulo as FF>::Element