1#ifndef STAN_MATH_REV_FUNCTOR_APPLY_VECTOR_UNARY_HPP
2#define STAN_MATH_REV_FUNCTOR_APPLY_VECTOR_UNARY_HPP
require_t< is_var_matrix< std::decay_t< T > > > require_var_matrix_t
Require type satisfies is_var_matrix.
typename plain_type< T >::type plain_type_t
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...
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>.
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>.
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.