Stan Math Library
4.8.1
Automatic Differentiation
|
Specialization for use with var_value<T>
types where T inherits from EigenBase.
Inputs are passed through unmodified.
Definition at line 16 of file apply_vector_unary.hpp.
#include <apply_vector_unary.hpp>
Static Public Member Functions | |
template<typename F > | |
static plain_type_t< T > | apply (const T &x, const F &f) |
Member function for applying a functor to a var_value<T> and subsequently returning a var_value<T> . | |
template<typename F > | |
static plain_type_t< T > | apply_no_holder (const T &x, const F &f) |
Member function for applying a functor to a var_value<T> and subsequently returning a var_value<T> . | |
template<typename F > | |
static var | reduce (const T &x, const F &f) |
Member function for applying a functor to a var_value<T> and subsequently returning a var. | |