Stan  2.5.0
probability, sampling & optimization
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
promote_common.hpp
Go to the documentation of this file.
1 #ifndef STAN__MATH__MATRIX__PROMOTE_COMMON_HPP
2 #define STAN__MATH__MATRIX__PROMOTE_COMMON_HPP
3 
6 
7 namespace stan {
8 
9  namespace math {
10 
11  template <typename T1, typename T2, typename F>
12  inline
13  typename common_type<T1,T2>::type
14  promote_common(const F& u) {
16  ::promote_to(u);
17  }
18 
19  }
20 }
21 
22 
23 #endif
common_type< T1, T2 >::type promote_common(const F &u)

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