Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ apply()

template<typename T >
template<typename F >
static plain_type_t< T > stan::math::apply_vector_unary< T, require_var_matrix_t< T > >::apply ( const T &  x,
const F &  f 
)
inlinestatic

Member function for applying a functor to a var_value<T> and subsequently returning a var_value<T>.

Template Parameters
TType of argument to which functor is applied.
FType of functor to apply.
Parameters
xinput to which operation is applied.
ffunctor to apply to Eigen input.
Returns
object with result of applying functor to input

Definition at line 28 of file apply_vector_unary.hpp.