Stan Math Library  2.15.0
reverse mode automatic differentiation
gumbel_log.hpp
Go to the documentation of this file.
1 #ifndef STAN_MATH_PRIM_SCAL_PROB_GUMBEL_LOG_HPP
2 #define STAN_MATH_PRIM_SCAL_PROB_GUMBEL_LOG_HPP
3 
6 
7 namespace stan {
8  namespace math {
9 
13  template <bool propto, typename T_y, typename T_loc, typename T_scale>
15  gumbel_log(const T_y& y, const T_loc& mu, const T_scale& beta) {
16  return gumbel_lpdf<propto, T_y, T_loc, T_scale>(y, mu, beta);
17  }
18 
22  template <typename T_y, typename T_loc, typename T_scale>
23  inline
25  gumbel_log(const T_y& y, const T_loc& mu, const T_scale& beta) {
26  return gumbel_lpdf<T_y, T_loc, T_scale>(y, mu, beta);
27  }
28 
29  }
30 }
31 #endif
boost::math::tools::promote_args< typename scalar_type< T1 >::type, typename scalar_type< T2 >::type, typename scalar_type< T3 >::type, typename scalar_type< T4 >::type, typename scalar_type< T5 >::type, typename scalar_type< T6 >::type >::type type
Definition: return_type.hpp:27
return_type< T_y, T_loc, T_scale >::type gumbel_log(const T_y &y, const T_loc &mu, const T_scale &beta)
Definition: gumbel_log.hpp:15

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