Stan Math Library  2.20.0
reverse mode automatic differentiation
value_type.hpp
Go to the documentation of this file.
1 #ifndef STAN_MATH_PRIM_ARR_META_VALUE_TYPE_HPP
2 #define STAN_MATH_PRIM_ARR_META_VALUE_TYPE_HPP
3 
5 #include <vector>
6 
7 namespace stan {
8 namespace math {
9 
16 template <typename T>
17 struct value_type<std::vector<T> > {
22  typedef T type;
23 };
24 
25 } // namespace math
26 } // namespace stan
27 #endif
T type
Type of value stored in a standard vector with type T entries.
Definition: value_type.hpp:22
Primary template class for metaprogram to compute the type of values stored in a container.
Definition: value_type.hpp:18

     [ Stan Home Page ] © 2011–2018, Stan Development Team.