Stan  1.3
probability, sampling & optimization
 All Classes Namespaces Files Functions Variables Typedefs 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

namespace  stan
 Probability, optimization and sampling library.
 
namespace  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.
 
static void stan::agrad::grad (chainable *vi)
 Compute the gradient for all variables starting from the specified root variable implementation.
 

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