pub trait BernoulliMath: RealPrimalMath<Element: BernoulliNumbers> + Sized {
// Provided method
fn bernoulli_numbers(b1: Self::Element) -> BernoulliSequence<Self> ⓘ { ... }
}Expand description
Bernoulli numbers for real primal vectors.
Blanket-implemented for every RealPrimalMath vector whose element carries the
tables, so bringing the trait into scope is all that is needed.
Provided Methods§
Sourcefn bernoulli_numbers(b1: Self::Element) -> BernoulliSequence<Self> ⓘ
fn bernoulli_numbers(b1: Self::Element) -> BernoulliSequence<Self> ⓘ
The sequence $B_0, B_1, B_2, \ldots$ as splatted vectors, zeros included.
b1 is the value of $B_1$, which the tables deliberately do not choose for you.
See the module docs.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".