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

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

#include <logit.hpp>

Static Public Member Functions

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

Detailed Description

Structure to wrap logit() so it can be vectorized.

Definition at line 13 of file logit.hpp.

Member Function Documentation

§ fun()

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

Return the log odds of the specified argument.

Template Parameters
Targument type
Parameters
xargument
Returns
log odds of the argument

Definition at line 22 of file logit.hpp.


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

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