COSH
Summary
Vector hyperbolic cosine: applies cosh element-wise to each input value. A Math Transform primitive with no lookback.
Formula
outReal[i] = cosh(inReal[i]) = (e^{inReal[i]} + e^{-inReal[i]}) / 2
Inputs
inReal— Input values to transform
Outputs
outReal— Hyperbolic cosine of each input
Implementation
TA-Lib Definition: cosh.c · cosh.yaml
| Native | File |
|---|---|
| C | ta_COSH.c |
| Rust | cosh.rs |
| Java | Core.java |
TA-Lib is also available for Python, R and more using a wrapper.
Aliases
Hyperbolic Cosine