Automatic Differentiation
 
Loading...
Searching...
No Matches
callback_vari.hpp File Reference
#include <stan/math/rev/core/vari.hpp>
#include <utility>

Go to the source code of this file.

Classes

struct  stan::math::internal::callback_vari< T, F >
 

Namespaces

namespace  stan
 The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation from C or the boost::math::lgamma implementation.
 
namespace  stan::math
 Matrices and templated mathematical functions.
 
namespace  stan::math::internal
 A comparator that works for any container type that has the brackets operator.
 

Functions

template<typename T , typename F >
internal::callback_vari< plain_type_t< T >, F > * stan::math::make_callback_vari (T &&value, F &&functor)
 Creates a new vari with given value and a callback that implements the reverse pass (chain).
 
template<typename T , typename F >
var_value< plain_type_t< T > > stan::math::make_callback_var (T &&value, F &&functor)
 Creates a new var initialized with a callback_vari with a given value and reverse-pass callback functor.