Stan Math Library  2.14.0
reverse mode automatic differentiation
value_type.hpp
Go to the documentation of this file.
1 #ifndef STAN_MATH_PRIM_MAT_META_VALUE_TYPE_HPP
2 #define STAN_MATH_PRIM_MAT_META_VALUE_TYPE_HPP
3 
5 #include <Eigen/Core>
6 
7 namespace stan {
8  namespace math {
9 
18  template <typename T, int R, int C>
19  struct value_type<Eigen::Matrix<T, R, C> > {
20  typedef typename Eigen::Matrix<T, R, C>::Scalar type;
21  };
22 
23  }
24 
25 }
26 
27 #endif
(Expert) Numerical traits for algorithmic differentiation variables.
Eigen::Matrix< T, R, C >::Scalar type
Definition: value_type.hpp:20
Primary template class for metaprogram to compute the type of values stored in a container.
Definition: value_type.hpp:18

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