Stan  1.1
probability, sampling & optimization
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
stan::agrad::mdivide_left_vd_vari< R1, C1, R2, C2 > Class Template Reference

#include <matrix.hpp>

Inheritance diagram for stan::agrad::mdivide_left_vd_vari< R1, C1, R2, C2 >:
stan::agrad::vari stan::agrad::chainable

Public Member Functions

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

Public Attributes

Eigen::Matrix< double, R1, C1 > _A
 
Eigen::Matrix< double, R1, C2 > _C
 
Eigen::Matrix< vari *, R1, C1 > _variRefA
 
Eigen::Matrix< vari *, R1, C2 > _variRefC
 
- Public Attributes inherited from stan::agrad::vari
const double val_
 The value of this variable.
 
double adj_
 The adjoint of this variable, which is the partial derivative of this variable with respect to the root variable.
 

Additional Inherited Members

- Static Public Member Functions inherited from stan::agrad::vari
static void * operator new (size_t nbytes)
 Allocate memory from the underlying memory pool.
 
static void recover_memory ()
 Recover memory used for all variables for reuse.
 
static void free_memory ()
 Return all memory used for gradients back to the system.
 

Detailed Description

template<int R1, int C1, int R2, int C2>
class stan::agrad::mdivide_left_vd_vari< R1, C1, R2, C2 >

Definition at line 1047 of file matrix.hpp.

Constructor & Destructor Documentation

template<int R1, int C1, int R2, int C2>
stan::agrad::mdivide_left_vd_vari< R1, C1, R2, C2 >::mdivide_left_vd_vari ( const Eigen::Matrix< var, R1, C1 > &  A,
const Eigen::Matrix< double, R2, C2 > &  B 
)
inline

Definition at line 1055 of file matrix.hpp.

Member Function Documentation

template<int R1, int C1, int R2, int C2>
virtual void stan::agrad::mdivide_left_vd_vari< R1, C1, R2, C2 >::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::agrad::vari.

Definition at line 1080 of file matrix.hpp.

Member Data Documentation

template<int R1, int C1, int R2, int C2>
Eigen::Matrix<double,R1,C1> stan::agrad::mdivide_left_vd_vari< R1, C1, R2, C2 >::_A

Definition at line 1049 of file matrix.hpp.

template<int R1, int C1, int R2, int C2>
Eigen::Matrix<double,R1,C2> stan::agrad::mdivide_left_vd_vari< R1, C1, R2, C2 >::_C

Definition at line 1050 of file matrix.hpp.

template<int R1, int C1, int R2, int C2>
Eigen::Matrix<vari*,R1,C1> stan::agrad::mdivide_left_vd_vari< R1, C1, R2, C2 >::_variRefA

Definition at line 1052 of file matrix.hpp.

template<int R1, int C1, int R2, int C2>
Eigen::Matrix<vari*,R1,C2> stan::agrad::mdivide_left_vd_vari< R1, C1, R2, C2 >::_variRefC

Definition at line 1053 of file matrix.hpp.


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

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