![]() |
Stan
2.5.0
probability, sampling & optimization
|
A variable implementation that stores operands and derivatives with respect to the variable. More...
#include <partials_vari.hpp>
Public Member Functions | |
| OperandsAndPartials (const T1 &x1=0, const T2 &x2=0, const T3 &x3=0, const T4 &x4=0, const T5 &x5=0, const T6 &x6=0) | |
| T_return_type | to_var (double logp) |
Public Attributes | |
| size_t | nvaris |
| agrad::vari ** | all_varis |
| double * | all_partials |
| VectorView< double *, is_vector< T1 >::value, is_constant_struct< T1 > ::value > | d_x1 |
| VectorView< double *, is_vector< T2 >::value, is_constant_struct< T2 > ::value > | d_x2 |
| VectorView< double *, is_vector< T3 >::value, is_constant_struct< T3 > ::value > | d_x3 |
| VectorView< double *, is_vector< T4 >::value, is_constant_struct< T4 > ::value > | d_x4 |
| VectorView< double *, is_vector< T5 >::value, is_constant_struct< T5 > ::value > | d_x5 |
| VectorView< double *, is_vector< T6 >::value, is_constant_struct< T6 > ::value > | d_x6 |
Static Public Attributes | |
| static const bool | all_constant = is_constant<T_return_type>::value |
A variable implementation that stores operands and derivatives with respect to the variable.
Definition at line 76 of file partials_vari.hpp.
|
inline |
Definition at line 89 of file partials_vari.hpp.
|
inline |
Definition at line 138 of file partials_vari.hpp.
|
static |
Definition at line 77 of file partials_vari.hpp.
| double* stan::agrad::OperandsAndPartials< T1, T2, T3, T4, T5, T6, T_return_type >::all_partials |
Definition at line 80 of file partials_vari.hpp.
| agrad::vari** stan::agrad::OperandsAndPartials< T1, T2, T3, T4, T5, T6, T_return_type >::all_varis |
Definition at line 79 of file partials_vari.hpp.
| VectorView<double*, is_vector<T1>::value, is_constant_struct<T1>::value> stan::agrad::OperandsAndPartials< T1, T2, T3, T4, T5, T6, T_return_type >::d_x1 |
Definition at line 82 of file partials_vari.hpp.
| VectorView<double*, is_vector<T2>::value, is_constant_struct<T2>::value> stan::agrad::OperandsAndPartials< T1, T2, T3, T4, T5, T6, T_return_type >::d_x2 |
Definition at line 83 of file partials_vari.hpp.
| VectorView<double*, is_vector<T3>::value, is_constant_struct<T3>::value> stan::agrad::OperandsAndPartials< T1, T2, T3, T4, T5, T6, T_return_type >::d_x3 |
Definition at line 84 of file partials_vari.hpp.
| VectorView<double*, is_vector<T4>::value, is_constant_struct<T4>::value> stan::agrad::OperandsAndPartials< T1, T2, T3, T4, T5, T6, T_return_type >::d_x4 |
Definition at line 85 of file partials_vari.hpp.
| VectorView<double*, is_vector<T5>::value, is_constant_struct<T5>::value> stan::agrad::OperandsAndPartials< T1, T2, T3, T4, T5, T6, T_return_type >::d_x5 |
Definition at line 86 of file partials_vari.hpp.
| VectorView<double*, is_vector<T6>::value, is_constant_struct<T6>::value> stan::agrad::OperandsAndPartials< T1, T2, T3, T4, T5, T6, T_return_type >::d_x6 |
Definition at line 87 of file partials_vari.hpp.
| size_t stan::agrad::OperandsAndPartials< T1, T2, T3, T4, T5, T6, T_return_type >::nvaris |
Definition at line 78 of file partials_vari.hpp.