Stan Math Library  2.9.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 
9  // handles eigen matrix
10  template <typename T>
11  struct is_vector_like<Eigen::Matrix<T, Eigen::Dynamic, Eigen::Dynamic> > {
12  enum { value = true };
13  };
14 }
15 #endif
16 
(Expert) Numerical traits for algorithmic differentiation variables.

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