Stan Math Library  2.15.0
reverse mode automatic differentiation
scalar_type.hpp
Go to the documentation of this file.
1 #ifndef STAN_MATH_PRIM_MAT_META_SCALAR_TYPE_HPP
2 #define STAN_MATH_PRIM_MAT_META_SCALAR_TYPE_HPP
3 
8 
9 namespace stan {
10 
11  template <typename T>
12  struct scalar_type<Eigen::Matrix<T, Eigen::Dynamic, Eigen::Dynamic> > {
13  typedef typename scalar_type<T>::type type;
14  };
15 
16 }
17 #endif
Metaprogram structure to determine the base scalar type of a template argument.
Definition: scalar_type.hpp:33
scalar_type_helper< is_vector< T >::value, T >::type type
Definition: scalar_type.hpp:34
(Expert) Numerical traits for algorithmic differentiation variables.

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