Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ acosh() [6/10]

template<typename T , require_complex_bt< std::is_arithmetic, T > * = nullptr>
auto stan::math::acosh ( T &&  x)
inline

Return the inverse hyperbolic cosine of the specified value.

Return the elementwise application of acosh() to specified argument container.

Returns nan for nan argument.

Parameters
[in]xcomplex<Arithmetic> Argument.
Returns
Inverse hyperbolic cosine of the argument.
Exceptions
std::domain_errorIf argument is less than 1.

The return type promotes the underlying scalar argument type to double if it is an integer, and otherwise is the argument type.

Template Parameters
Ttype of container
Parameters
xcontainer
Returns
Elementwise acosh of members of container.

Definition at line 49 of file acosh.hpp.