Skip to main content

tanh

Function tanh 

pub fn tanh<T: Passive, const K: usize>(x: &JetK<T, K>) -> JetK<T, K>
Expand description

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