1 #ifndef STAN_MATH_PRIM_ARR_FUN_VALUE_OF_REC_HPP
2 #define STAN_MATH_PRIM_ARR_FUN_VALUE_OF_REC_HPP
22 inline std::vector<double>
24 size_t size = x.size();
25 std::vector<double> result(size);
26 for (
size_t i=0; i <
size; i++)
43 inline std::vector<double>
value_of_rec(
const std::vector<double>& x) {
double value_of_rec(const fvar< T > &v)
Return the value of the specified variable.
int size(const std::vector< T > &x)
Return the size of the specified standard vector.