TANH
Summary
Vector hyperbolic tangent: applies tanh element-wise to the input series.
Formula
outReal[i] = tanh(inReal[i])
Inputs
inReal— Input value series
Outputs
outReal— Hyperbolic tangent of each input
Implementation
TA-Lib Definition: tanh.c · tanh.yaml
| Native | File |
|---|---|
| C | ta_TANH.c |
| Rust | tanh.rs |
| Java | Core.java |
TA-Lib is also available for Python, R and more using a wrapper.
Aliases
Hyperbolic Tangent