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

◆ exp() [6/9]

template<typename Container , require_ad_container_t< Container > * = nullptr>
auto stan::math::exp ( const Container &  x)
inline

Return the elementwise exp() of the specified argument, which may be a scalar or any Stan container of numeric scalars.

Version of exp() that accepts std::vectors, Eigen Matrix/Array objects or expressions, and containers of these.

The return type is the same as the argument type.

Template Parameters
Containertype of container
Parameters
[in]xcontainer
Returns
Elementwise application of exponentiation to the argument.
Template Parameters
ContainerType of x
Parameters
xContainer
Returns
Elementwise application of exponentiation to the argument.

Definition at line 71 of file exp.hpp.