Stan Math Library  2.15.0
reverse mode automatic differentiation
Static Public Member Functions | List of all members
stan::math::log_fun Struct Reference

Structure to wrap log() so that it can be vectorized. More...

#include <log.hpp>

Static Public Member Functions

template<typename T >
static T fun (const T &x)
 Return natural log of specified argument. More...
 

Detailed Description

Structure to wrap log() so that it can be vectorized.

Definition at line 14 of file log.hpp.

Member Function Documentation

§ fun()

template<typename T >
static T stan::math::log_fun::fun ( const T &  x)
inlinestatic

Return natural log of specified argument.

Template Parameters
TScalar argument type.
Parameters
[in]xArgument.
Returns
Natural log of x.

Definition at line 23 of file log.hpp.


The documentation for this struct was generated from the following file:

     [ Stan Home Page ] © 2011–2016, Stan Development Team.