![]() |
Stan Math Library
2.8.0
reverse mode automatic differentiation
|
A variable implementation that stores operands and derivatives with respect to the variable. More...
#include <OperandsAndPartials.hpp>
Public Types | |
typedef stan::partials_return_type< T1, T2, T3, T4, T5, T6 >::type | T_partials_return |
typedef stan::return_type< T1, T2, T3, T4, T5, T6 >::type | T_return_type |
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 (T_partials_return logp, const T1 &x1=0, const T2 &x2=0, const T3 &x3=0, const T4 &x4=0, const T5 &x5=0, const T6 &x6=0) |
Public Attributes | |
size_t | nvaris |
vari ** | all_varis |
T_partials_return * | all_partials |
VectorView< T_partials_return, is_vector< T1 >::value, is_constant_struct< T1 > ::value > | d_x1 |
VectorView< T_partials_return, is_vector< T2 >::value, is_constant_struct< T2 > ::value > | d_x2 |
VectorView< T_partials_return, is_vector< T3 >::value, is_constant_struct< T3 > ::value > | d_x3 |
VectorView< T_partials_return, is_vector< T4 >::value, is_constant_struct< T4 > ::value > | d_x4 |
VectorView< T_partials_return, is_vector< T5 >::value, is_constant_struct< T5 > ::value > | d_x5 |
VectorView< T_partials_return, 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 238 of file OperandsAndPartials.hpp.
typedef stan::partials_return_type<T1, T2, T3, T4, T5, T6>::type stan::math::OperandsAndPartials< T1, T2, T3, T4, T5, T6 >::T_partials_return |
Definition at line 241 of file OperandsAndPartials.hpp.
typedef stan::return_type<T1, T2, T3, T4, T5, T6>::type stan::math::OperandsAndPartials< T1, T2, T3, T4, T5, T6 >::T_return_type |
Definition at line 244 of file OperandsAndPartials.hpp.
|
inline |
Definition at line 270 of file OperandsAndPartials.hpp.
|
inline |
Definition at line 322 of file OperandsAndPartials.hpp.
|
static |
Definition at line 246 of file OperandsAndPartials.hpp.
T_partials_return* stan::math::OperandsAndPartials< T1, T2, T3, T4, T5, T6 >::all_partials |
Definition at line 249 of file OperandsAndPartials.hpp.
vari** stan::math::OperandsAndPartials< T1, T2, T3, T4, T5, T6 >::all_varis |
Definition at line 248 of file OperandsAndPartials.hpp.
VectorView<T_partials_return, is_vector<T1>::value, is_constant_struct<T1>::value> stan::math::OperandsAndPartials< T1, T2, T3, T4, T5, T6 >::d_x1 |
Definition at line 253 of file OperandsAndPartials.hpp.
VectorView<T_partials_return, is_vector<T2>::value, is_constant_struct<T2>::value> stan::math::OperandsAndPartials< T1, T2, T3, T4, T5, T6 >::d_x2 |
Definition at line 256 of file OperandsAndPartials.hpp.
VectorView<T_partials_return, is_vector<T3>::value, is_constant_struct<T3>::value> stan::math::OperandsAndPartials< T1, T2, T3, T4, T5, T6 >::d_x3 |
Definition at line 259 of file OperandsAndPartials.hpp.
VectorView<T_partials_return, is_vector<T4>::value, is_constant_struct<T4>::value> stan::math::OperandsAndPartials< T1, T2, T3, T4, T5, T6 >::d_x4 |
Definition at line 262 of file OperandsAndPartials.hpp.
VectorView<T_partials_return, is_vector<T5>::value, is_constant_struct<T5>::value> stan::math::OperandsAndPartials< T1, T2, T3, T4, T5, T6 >::d_x5 |
Definition at line 265 of file OperandsAndPartials.hpp.
VectorView<T_partials_return, is_vector<T6>::value, is_constant_struct<T6>::value> stan::math::OperandsAndPartials< T1, T2, T3, T4, T5, T6 >::d_x6 |
Definition at line 268 of file OperandsAndPartials.hpp.
size_t stan::math::OperandsAndPartials< T1, T2, T3, T4, T5, T6 >::nvaris |
Definition at line 247 of file OperandsAndPartials.hpp.