Trait BernoulliNumber

Source
pub trait BernoulliNumber {
    type Output;

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

ベルヌーイ数

Required Associated Types§

Source

type Output

計算結果の型

Required Methods§

Source

fn bernoulli_number(&self, n: usize) -> Vec<Self::Output>

ベルヌーイ数$B_0 \ldots B_n$を計算する。

Implementors§

Source§

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

Source§

type Output = <Modulo as FF>::Element