Skip to main content

tanh

Function tanh 

pub fn tanh<T: TapeStorage>(x: &AReal<T>) -> AReal<T>
Expand description

Hyperbolic tangent. f' = 1 - tanh², f'' = -2·tanh·f'.