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

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

#include <exp2.hpp>

Static Public Member Functions

template<typename T >
static T fun (const T &x)
 Return the base two exponent of the specified argument. More...
 

Detailed Description

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

Definition at line 13 of file exp2.hpp.

Member Function Documentation

§ fun()

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

Return the base two exponent of the specified argument.

Parameters
xArgument.
Returns
Base two exponent of the argument.
Template Parameters
TArgument type.

Definition at line 22 of file exp2.hpp.


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

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