Stan  1.1
probability, sampling & optimization
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Macros Pages
Public Member Functions | Static Public Member Functions | List of all members
stan::agrad::determinant_vari< R, C > Class Template Reference

#include <matrix.hpp>

Inheritance diagram for stan::agrad::determinant_vari< R, C >:
stan::agrad::vari stan::agrad::chainable

Public Member Functions

 determinant_vari (const Eigen::Matrix< var, R, C > &A)
 
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.
 

Static Public Member Functions

static double determinant_vari_calc (const Eigen::Matrix< var, R, C > &A)
 
- 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.
 
- Static Public Member Functions inherited from stan::agrad::chainable
static void * operator new (size_t nbytes)
 Allocate memory from the underlying memory pool.
 

Additional Inherited Members

- 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.
 

Detailed Description

template<int R, int C>
class stan::agrad::determinant_vari< R, C >

Definition at line 1428 of file matrix.hpp.

Constructor & Destructor Documentation

template<int R, int C>
stan::agrad::determinant_vari< R, C >::determinant_vari ( const Eigen::Matrix< var, R, C > &  A)
inline

Definition at line 1432 of file matrix.hpp.

Member Function Documentation

template<int R, int C>
virtual void stan::agrad::determinant_vari< R, C >::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 1453 of file matrix.hpp.

template<int R, int C>
static double stan::agrad::determinant_vari< R, C >::determinant_vari_calc ( const Eigen::Matrix< var, R, C > &  A)
inlinestatic

Definition at line 1444 of file matrix.hpp.


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

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