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

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

#include <log1p_exp.hpp>

Static Public Member Functions

template<typename T >
static T fun (const T &x)
 

Detailed Description

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

Parameters
xVariable.
Template Parameters
TVariable type.
Returns
Natural log of (1 + exp(x)).

Definition at line 16 of file log1p_exp.hpp.

Member Function Documentation

§ fun()

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

Definition at line 18 of file log1p_exp.hpp.


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

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