1#ifndef XPED_REVERSE_PASS_CALLBACK_ALLOC_HPP_
2#define XPED_REVERSE_PASS_CALLBACK_ALLOC_HPP_
4#include <stan/math/rev/core/chainable_alloc.hpp>
5#include <stan/math/rev/core/vari.hpp>
18 stan::math::ChainableStack::instance_->var_stack_.push_back(
this);
void reverse_pass_callback_alloc(F &&functor)
Definition: reverse_pass_callback_alloc.hpp:40
Definition: MatrixMultiplication.hpp:4
Definition: reverse_pass_callback_alloc.hpp:12
void chain() final
Definition: reverse_pass_callback_alloc.hpp:21
void init_dependent()
Definition: reverse_pass_callback_alloc.hpp:23
void set_zero_adjoint() final
Definition: reverse_pass_callback_alloc.hpp:22
F rev_functor_
Definition: reverse_pass_callback_alloc.hpp:13
reverse_pass_callback_alloc_vari(F &&rev_functor)
Definition: reverse_pass_callback_alloc.hpp:15