Trait BellNumber

Source
pub trait BellNumber {
    type Output;

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

ベル数

Required Associated Types§

Source

type Output

計算結果の型

Required Methods§

Source

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

ベル数$B(n, k)$を計算する。

Implementors§

Source§

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

Source§

type Output = <Modulo as FF>::Element