Stan Math Library  2.9.0
reverse mode automatic differentiation
Public Member Functions | Public Attributes | List of all members
stan::math::cholesky_decompose_v_vari Class Reference

#include <cholesky_decompose.hpp>

Inheritance diagram for stan::math::cholesky_decompose_v_vari:
stan::math::vari

Public Member Functions

 cholesky_decompose_v_vari (const Eigen::Matrix< var,-1,-1 > &A, const Eigen::Matrix< double,-1,-1 > &L_A)
 
virtual void chain ()
 Apply the chain rule to this variable based on the variables on which it depends. More...
 
- Public Member Functions inherited from stan::math::vari
 vari (const double x)
 Construct a variable implementation from a value. More...
 
 vari (const double x, bool stacked)
 
virtual ~vari ()
 Throw an illegal argument exception. More...
 
void init_dependent ()
 Initialize the adjoint for this (dependent) variable to 1. More...
 
void set_zero_adjoint ()
 Set the adjoint value of this variable to 0. More...
 

Public Attributes

int M_
 
vari ** variRefA_
 
vari ** variRefL_
 
- Public Attributes inherited from stan::math::vari
const double val_
 The value of this variable. More...
 
double adj_
 The adjoint of this variable, which is the partial derivative of this variable with respect to the root variable. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from stan::math::vari
static void * operator new (size_t nbytes)
 Allocate memory from the underlying memory pool. More...
 
static void operator delete (void *)
 Delete a pointer from the underlying memory pool. More...
 

Detailed Description

Definition at line 18 of file cholesky_decompose.hpp.

Constructor & Destructor Documentation

stan::math::cholesky_decompose_v_vari::cholesky_decompose_v_vari ( const Eigen::Matrix< var,-1,-1 > &  A,
const Eigen::Matrix< double,-1,-1 > &  L_A 
)
inline

Definition at line 41 of file cholesky_decompose.hpp.

Member Function Documentation

virtual void stan::math::cholesky_decompose_v_vari::chain ( )
inlinevirtual

Apply the chain rule to this variable based on the variables on which it depends.

The base implementation in this class is a no-op.

Reimplemented from stan::math::vari.

Definition at line 78 of file cholesky_decompose.hpp.

Member Data Documentation

int stan::math::cholesky_decompose_v_vari::M_

Definition at line 20 of file cholesky_decompose.hpp.

vari** stan::math::cholesky_decompose_v_vari::variRefA_

Definition at line 21 of file cholesky_decompose.hpp.

vari** stan::math::cholesky_decompose_v_vari::variRefL_

Definition at line 22 of file cholesky_decompose.hpp.


The documentation for this class was generated from the following file:

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