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

◆ log() [5/8]

template<typename Container , require_not_container_st< std::is_arithmetic, Container > * = nullptr, require_not_var_matrix_t< Container > * = nullptr, require_not_nonscalar_prim_or_rev_kernel_expression_t< Container > * = nullptr>
auto stan::math::log ( const Container &  x)
inline

Return the elementwise natural log of the specified argument, which may be a scalar or any Stan container of numeric scalars.

The return type is the same as the argument type.

Template Parameters
Containertype of container
Parameters
[in]xcontainer
Returns
Elementwise application of natural log to the argument.

Definition at line 51 of file log.hpp.