Stan Math Library
4.8.1
Automatic Differentiation
|
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 19 of file apply_scalar_unary.hpp.
#include <apply_scalar_unary.hpp>
Public Types | |
using | return_t = var |
Function return type, which is var . | |
Static Public Member Functions | |
static return_t | apply (const var &x) |
Apply the function specified by F to the specified argument. | |