Function sinh

Source
pub fn sinh(func: Function) -> Function
Expand description

Creates a Function equal to the hyperbolic sine of the passed Function

i.e f(x) ⟹ sinh(f(x))

Example:

    let x = function::default();
    let sinh_of_x = sinh(x);
    assert_eq!(sinh_of_x.call(0.), 0.);