Stan Math Library  2.20.0
reverse mode automatic differentiation
cauchy_log.hpp
Go to the documentation of this file.
1 #ifndef STAN_MATH_PRIM_SCAL_PROB_CAUCHY_LOG_HPP
2 #define STAN_MATH_PRIM_SCAL_PROB_CAUCHY_LOG_HPP
3 
6 
7 namespace stan {
8 namespace math {
9 
29 template <bool propto, typename T_y, typename T_loc, typename T_scale>
31  const T_y& y, const T_loc& mu, const T_scale& sigma) {
32  return cauchy_lpdf<propto, T_y, T_loc, T_scale>(y, mu, sigma);
33 }
34 
38 template <typename T_y, typename T_loc, typename T_scale>
40  const T_y& y, const T_loc& mu, const T_scale& sigma) {
41  return cauchy_lpdf<T_y, T_loc, T_scale>(y, mu, sigma);
42 }
43 
44 } // namespace math
45 } // namespace stan
46 #endif
boost::math::tools::promote_args< double, typename scalar_type< T >::type, typename return_type< Types_pack... >::type >::type type
Definition: return_type.hpp:36
return_type< T_y, T_loc, T_scale >::type cauchy_log(const T_y &y, const T_loc &mu, const T_scale &sigma)
The log of the Cauchy density for the specified scalar(s) given the specified location parameter(s) a...
Definition: cauchy_log.hpp:30

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