#include <dot_self.hpp>
|
| dot_self_vari (vari **v, size_t size) |
|
template<typename Derived > |
| dot_self_vari (const Eigen::DenseBase< Derived > &v) |
|
template<int R, int C> |
| dot_self_vari (const Eigen::Matrix< var, R, C > &v) |
|
template<typename Derived > |
double | var_dot_self (const Eigen::DenseBase< Derived > &v) |
|
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...
|
|
|
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...
|
|
Definition at line 14 of file dot_self.hpp.
◆ dot_self_vari() [1/3]
stan::math::internal::dot_self_vari::dot_self_vari |
( |
vari ** |
v, |
|
|
size_t |
size |
|
) |
| |
|
inline |
◆ dot_self_vari() [2/3]
template<typename Derived >
stan::math::internal::dot_self_vari::dot_self_vari |
( |
const Eigen::DenseBase< Derived > & |
v | ) |
|
|
inlineexplicit |
◆ dot_self_vari() [3/3]
template<int R, int C>
stan::math::internal::dot_self_vari::dot_self_vari |
( |
const Eigen::Matrix< var, R, C > & |
v | ) |
|
|
inlineexplicit |
◆ chain()
virtual void stan::math::internal::dot_self_vari::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 59 of file dot_self.hpp.
◆ square()
static double stan::math::internal::dot_self_vari::square |
( |
double |
x | ) |
|
|
inlinestatic |
◆ var_dot_self() [1/3]
static double stan::math::internal::dot_self_vari::var_dot_self |
( |
vari ** |
v, |
|
|
size_t |
size |
|
) |
| |
|
inlinestatic |
◆ var_dot_self() [2/3]
template<typename Derived >
double stan::math::internal::dot_self_vari::var_dot_self |
( |
const Eigen::DenseBase< Derived > & |
v | ) |
|
|
inline |
◆ var_dot_self() [3/3]
template<int R, int C>
static double stan::math::internal::dot_self_vari::var_dot_self |
( |
const Eigen::Matrix< var, R, C > & |
v | ) |
|
|
inlinestatic |
◆ size_
size_t stan::math::internal::dot_self_vari::size_ |
|
protected |
◆ v_
vari** stan::math::internal::dot_self_vari::v_ |
|
protected |
The documentation for this class was generated from the following file: