Function ln
Source pub fn ln(func: Function) -> Function
Expand description
Creates a Function equal to the natural logarithm (base e) of the passed Function
i.e f(x) ⟹ ln(f(x))
Example:
let x = function::default();
let ln_of_x = ln(x);
assert_eq!(ln_of_x.call(E), 1.);