Stan Math Library  2.20.0
reverse mode automatic differentiation
is_vector.hpp
Go to the documentation of this file.
1 #ifndef STAN_MATH_PRIM_SCAL_META_IS_VECTOR_HPP
2 #define STAN_MATH_PRIM_SCAL_META_IS_VECTOR_HPP
3 
4 namespace stan {
5 
6 // FIXME: use boost::type_traits::remove_all_extents to
7 // extend to array/ptr types
8 
9 template <typename T>
10 struct is_vector {
11  enum { value = 0 };
12  typedef T type;
13 };
14 } // namespace stan
15 #endif

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