Stan  2.5.0
probability, sampling & optimization
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Functions
chainable.hpp File Reference
#include <vector>
#include <stan/agrad/rev/var_stack.hpp>

Go to the source code of this file.

Classes

class  stan::agrad::chainable
 Abstract base class for variable implementations that handles memory management and applying the chain rule. More...
 

Namespaces

 stan
 Probability, optimization and sampling library.
 
 stan::agrad
 Function gradients via reverse-mode automatic differentiation.
 

Functions

static void stan::agrad::set_zero_all_adjoints ()
 Reset all adjoint values in the stack to zero. More...
 
static void stan::agrad::grad (chainable *vi)
 Compute the gradient for all variables starting from the specified root variable implementation. More...
 

     [ Stan Home Page ] © 2011–2014, Stan Development Team.