sinh

Function sinh 

Source
pub fn sinh(arg: &Expression) -> Expression
Expand description

Evaluate hyperbolic sine sinh(x)

§Mathematical Definition

sinh(x) = (e^x - e^(-x)) / 2

§Arguments

  • arg - Expression to compute sinh of

§Returns

Hyperbolic sine expression

§Examples

use mathhook_core::functions::elementary::hyperbolic_eval::sinh;
use mathhook_core::expr;

let result = sinh(&expr!(0));
assert_eq!(result, expr!(0));