![]() |
Stan Math Library
2.11.0
reverse mode automatic differentiation
|
Template specialization to var for vectorizing a unary scalar function. More...
#include <apply_scalar_unary.hpp>
Public Types | |
typedef stan::math::var | return_t |
Function return type, which is var . More... | |
Static Public Member Functions | |
static return_t | apply (const stan::math::var &x) |
Apply the function specified by F to the specified argument. More... | |
Template specialization to var for vectorizing a unary scalar function.
This is a base scalar specialization. It applies the function specified by the template parameter to the argument.
F | Type of function to apply. |
Definition at line 20 of file apply_scalar_unary.hpp.
typedef stan::math::var stan::math::apply_scalar_unary< F, stan::math::var >::return_t |
Function return type, which is var
.
Definition at line 24 of file apply_scalar_unary.hpp.
|
inlinestatic |
Apply the function specified by F to the specified argument.
x | Argument variable. |
Definition at line 32 of file apply_scalar_unary.hpp.