![]() |
Stan Math Library
2.20.0
reverse mode automatic differentiation
|
#include <cov_exp_quad.hpp>
Public Member Functions | |
cov_exp_quad_vari (const std::vector< T_x > &x, const T_sigma &sigma, const T_l &l) | |
virtual void | chain () |
Apply the chain rule to this variable based on the variables on which it depends. More... | |
![]() | |
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... | |
Public Attributes | |
const size_t | size_ |
const size_t | size_ltri_ |
const double | l_d_ |
const double | sigma_d_ |
const double | sigma_sq_d_ |
double * | dist_ |
vari * | l_vari_ |
vari * | sigma_vari_ |
vari ** | cov_lower_ |
vari ** | cov_diag_ |
![]() | |
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 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... | |
Definition at line 22 of file cov_exp_quad.hpp.
|
inline |
Definition at line 38 of file cov_exp_quad.hpp.
|
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 69 of file cov_exp_quad.hpp.
vari** stan::math::cov_exp_quad_vari< T_x, T_sigma, T_l >::cov_diag_ |
Definition at line 33 of file cov_exp_quad.hpp.
vari** stan::math::cov_exp_quad_vari< T_x, T_sigma, T_l >::cov_lower_ |
Definition at line 32 of file cov_exp_quad.hpp.
double* stan::math::cov_exp_quad_vari< T_x, T_sigma, T_l >::dist_ |
Definition at line 29 of file cov_exp_quad.hpp.
const double stan::math::cov_exp_quad_vari< T_x, T_sigma, T_l >::l_d_ |
Definition at line 26 of file cov_exp_quad.hpp.
vari* stan::math::cov_exp_quad_vari< T_x, T_sigma, T_l >::l_vari_ |
Definition at line 30 of file cov_exp_quad.hpp.
const double stan::math::cov_exp_quad_vari< T_x, T_sigma, T_l >::sigma_d_ |
Definition at line 27 of file cov_exp_quad.hpp.
const double stan::math::cov_exp_quad_vari< T_x, T_sigma, T_l >::sigma_sq_d_ |
Definition at line 28 of file cov_exp_quad.hpp.
vari* stan::math::cov_exp_quad_vari< T_x, T_sigma, T_l >::sigma_vari_ |
Definition at line 31 of file cov_exp_quad.hpp.
const size_t stan::math::cov_exp_quad_vari< T_x, T_sigma, T_l >::size_ |
Definition at line 24 of file cov_exp_quad.hpp.
const size_t stan::math::cov_exp_quad_vari< T_x, T_sigma, T_l >::size_ltri_ |
Definition at line 25 of file cov_exp_quad.hpp.