dahl_bellnumber

Function lbell

Source
pub fn lbell(n: usize) -> f64
Expand description

Compute the natural logarithm of the Bell number.

ยงExamples

let answer = dahl_bellnumber::lbell(5);

assert!( (answer - 52.0_f64.ln()).abs() < 0.00000001 );