Stan Math Library  2.20.0
reverse mode automatic differentiation
Public Member Functions | Static Public Member Functions | List of all members
stan::math::internal::determinant_vari< R, C > Class Template Reference

#include <determinant.hpp>

Inheritance diagram for stan::math::internal::determinant_vari< R, C >:
stan::math::vari

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. More...
 
- Public Member Functions inherited from stan::math::vari
 vari (double x)
 Construct a variable implementation from a value. More...
 
 vari (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...
 

Static Public Member Functions

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

Additional Inherited Members

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

Detailed Description

template<int R, int C>
class stan::math::internal::determinant_vari< R, C >

Definition at line 15 of file determinant.hpp.

Constructor & Destructor Documentation

◆ determinant_vari()

template<int R, int C>
stan::math::internal::determinant_vari< R, C >::determinant_vari ( const Eigen::Matrix< var, R, C > &  A)
inlineexplicit

Definition at line 22 of file determinant.hpp.

Member Function Documentation

◆ chain()

template<int R, int C>
virtual void stan::math::internal::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::math::vari.

Definition at line 37 of file determinant.hpp.

◆ determinant_vari_calc()

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

Definition at line 34 of file determinant.hpp.


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

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