Stan Math Library  2.20.0
reverse mode automatic differentiation
Public Member Functions | Public Attributes | List of all members
stan::math::cov_exp_quad_vari< T_x, double, T_l > Class Template Reference

#include <cov_exp_quad.hpp>

Inheritance diagram for stan::math::cov_exp_quad_vari< T_x, double, T_l >:
stan::math::vari

Public Member Functions

 cov_exp_quad_vari (const std::vector< T_x > &x, double sigma, const T_l &l)
 
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...
 

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_
 
varil_vari_
 
vari ** cov_lower_
 
vari ** cov_diag_
 
- 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

template<typename T_x, typename T_l>
class stan::math::cov_exp_quad_vari< T_x, double, T_l >

Deprecated:
use gp_exp_quad_cov_vari

Definition at line 92 of file cov_exp_quad.hpp.

Constructor & Destructor Documentation

◆ cov_exp_quad_vari()

template<typename T_x , typename T_l >
stan::math::cov_exp_quad_vari< T_x, double, T_l >::cov_exp_quad_vari ( const std::vector< T_x > &  x,
double  sigma,
const T_l &  l 
)
inline
Deprecated:
use gp_exp_quad_cov_vari

Definition at line 107 of file cov_exp_quad.hpp.

Member Function Documentation

◆ chain()

template<typename T_x , typename T_l >
virtual void stan::math::cov_exp_quad_vari< T_x, double, T_l >::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 136 of file cov_exp_quad.hpp.

Member Data Documentation

◆ cov_diag_

template<typename T_x , typename T_l >
vari** stan::math::cov_exp_quad_vari< T_x, double, T_l >::cov_diag_

Definition at line 102 of file cov_exp_quad.hpp.

◆ cov_lower_

template<typename T_x , typename T_l >
vari** stan::math::cov_exp_quad_vari< T_x, double, T_l >::cov_lower_

Definition at line 101 of file cov_exp_quad.hpp.

◆ dist_

template<typename T_x , typename T_l >
double* stan::math::cov_exp_quad_vari< T_x, double, T_l >::dist_

Definition at line 99 of file cov_exp_quad.hpp.

◆ l_d_

template<typename T_x , typename T_l >
const double stan::math::cov_exp_quad_vari< T_x, double, T_l >::l_d_

Definition at line 96 of file cov_exp_quad.hpp.

◆ l_vari_

template<typename T_x , typename T_l >
vari* stan::math::cov_exp_quad_vari< T_x, double, T_l >::l_vari_

Definition at line 100 of file cov_exp_quad.hpp.

◆ sigma_d_

template<typename T_x , typename T_l >
const double stan::math::cov_exp_quad_vari< T_x, double, T_l >::sigma_d_

Definition at line 97 of file cov_exp_quad.hpp.

◆ sigma_sq_d_

template<typename T_x , typename T_l >
const double stan::math::cov_exp_quad_vari< T_x, double, T_l >::sigma_sq_d_

Definition at line 98 of file cov_exp_quad.hpp.

◆ size_

template<typename T_x , typename T_l >
const size_t stan::math::cov_exp_quad_vari< T_x, double, T_l >::size_

Definition at line 94 of file cov_exp_quad.hpp.

◆ size_ltri_

template<typename T_x , typename T_l >
const size_t stan::math::cov_exp_quad_vari< T_x, double, T_l >::size_ltri_

Definition at line 95 of file cov_exp_quad.hpp.


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

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