Stan Math Library  2.10.0
reverse mode automatic differentiation
is_vector_like.hpp
Go to the documentation of this file.
1 #ifndef STAN_MATH_PRIM_MAT_META_IS_VECTOR_LIKE_HPP
2 #define STAN_MATH_PRIM_MAT_META_IS_VECTOR_LIKE_HPP
3 
6 
7 namespace stan {
8 
21  template <typename T>
22  struct is_vector_like<Eigen::Matrix<T, Eigen::Dynamic, Eigen::Dynamic> > {
23  enum { value = true };
24  };
25 }
26 #endif
27 
Template metaprogram indicates whether a type is vector_like.
(Expert) Numerical traits for algorithmic differentiation variables.

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