1 #ifndef STAN_MATH_PRIM_MAT_META_OPERANDS_AND_PARTIALS_HPP 2 #define STAN_MATH_PRIM_MAT_META_OPERANDS_AND_PARTIALS_HPP 18 template <
typename Op,
typename ViewElt,
int R,
int C>
28 template <
typename,
typename,
typename,
typename,
typename,
typename>
31 void dump_partials(
double* )
const {}
32 void dump_operands(
void* )
const {}
33 double dx()
const {
return 0; }
34 int size()
const {
return 0; }
37 template <
typename Op,
typename ViewElt,
int R,
int C>
44 const std::vector<Eigen::Matrix<Op, R, C>>& ) {}
47 template <
typename,
typename,
typename,
typename,
typename,
typename>
50 void dump_partials(
double* )
const {}
51 void dump_operands(
void* )
const {}
52 double dx()
const {
return 0; }
53 int size()
const {
return 0; }
56 template <
typename Op,
typename ViewElt>
67 template <
typename,
typename,
typename,
typename,
typename,
typename>
70 void dump_partials(
double* )
const {}
71 void dump_operands(
void* )
const {}
72 double dx()
const {
return 0; }
73 int size()
const {
return 0; }
An edge holds both the operands and its associated partial derivatives.
empty_broadcast_array< ViewElt, std::vector< std::vector< Op > > > partials_t
This template builds partial derivatives with respect to a set of operands.
empty_broadcast_array< partials_t, Eigen::Matrix< Op, R, C > > partials_vec_
(Expert) Numerical traits for algorithmic differentiation variables.
ops_partials_edge(const Eigen::Matrix< Op, R, C > &)
empty_broadcast_array< ViewElt, Eigen::Matrix< Op, R, C > > partials_t
ops_partials_edge(const std::vector< std::vector< Op >> &)
empty_broadcast_array< ViewElt, Eigen::Matrix< Op, R, C > > partials_t
empty_broadcast_array< partials_t, std::vector< std::vector< Op > > > partials_vec_
int size(const std::vector< T > &x)
Return the size of the specified standard vector.
ops_partials_edge(const std::vector< Eigen::Matrix< Op, R, C >> &)
empty_broadcast_array< partials_t, Eigen::Matrix< Op, R, C > > partials_vec_