Automatic Differentiation
 
Loading...
Searching...
No Matches
log.hpp File Reference

Go to the source code of this file.

Classes

struct  stan::math::log_fun
 Structure to wrap log() so that it can be vectorized. More...
 

Namespaces

namespace  stan
 The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation from C or the boost::math::lgamma implementation.
 
namespace  stan::math
 Matrices and templated mathematical functions.
 
namespace  stan::math::internal
 A comparator that works for any container type that has the brackets operator.
 

Functions

template<typename T , require_arithmetic_t< T > * = nullptr>
auto stan::math::log (const T x)
 Return the natural logarithm of the arithmetic argument.
 
template<typename Container , require_ad_container_t< Container > * = nullptr>
auto stan::math::log (const Container &x)
 Return the elementwise natural log of the specified argument, which may be a scalar or any Stan container of numeric scalars.
 
template<typename V >
std::complex< V > stan::math::internal::complex_log (const std::complex< V > &z)
 Return the natural logarithm of the complex argument.