1 #ifndef STAN_MATH_PRIM_ARR_FUN_VALUE_OF_HPP
2 #define STAN_MATH_PRIM_ARR_FUN_VALUE_OF_HPP
21 inline std::vector<typename child_type<T>::type>
23 size_t size = x.size();
24 std::vector<typename child_type<T>::type> result(size);
25 for (
size_t i=0; i <
size; i++)
42 inline std::vector<double>
value_of(
const std::vector<double>& x) {
T value_of(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.