WPILibC++ 2023.4.3
|
Go to the source code of this file.
Namespaces | |
namespace | internal |
Functions | |
template<typename T > | |
constexpr T | internal::cosh_compute (const T x) noexcept |
template<typename T > | |
constexpr return_t< T > | cosh (const T x) noexcept |
Compile-time hyperbolic cosine function. More... | |
|
constexprnoexcept |
Compile-time hyperbolic cosine function.
x | a real-valued input. |
\[ \cosh(x) = \frac{\exp(x) + \exp(-x)}{2} \]