Class for representing sums with constructors for Eigen.
More...
#include <sum.hpp>
|
template<typename Derived > |
static double | sum_of_val (const Eigen::DenseBase< Derived > &v) |
|
static double | sum_of_val (const std::vector< var > &v) |
|
|
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...
|
|
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...
|
|
vari ** | v_ |
|
size_t | length_ |
|
Class for representing sums with constructors for Eigen.
The chain()
method and member variables are managed by the superclass sum_v_vari
.
Definition at line 17 of file sum.hpp.
§ sum_eigen_v_vari()
template<int R1, int C1>
stan::math::sum_eigen_v_vari::sum_eigen_v_vari |
( |
const Eigen::Matrix< var, R1, C1 > & |
v1 | ) |
|
|
inlineexplicit |
§ sum_of_val()
template<typename Derived >
static double stan::math::sum_eigen_v_vari::sum_of_val |
( |
const Eigen::DenseBase< Derived > & |
v | ) |
|
|
inlinestaticprotected |
The documentation for this class was generated from the following file: