1 #ifndef STAN_MATH_PRIM_SCAL_PROB_CAUCHY_LOG_HPP 2 #define STAN_MATH_PRIM_SCAL_PROB_CAUCHY_LOG_HPP 29 template <
bool propto,
30 typename T_y,
typename T_loc,
typename T_scale>
32 cauchy_log(
const T_y& y,
const T_loc& mu,
const T_scale& sigma) {
33 return cauchy_lpdf<propto, T_y, T_loc, T_scale>(y, mu, sigma);
39 template <
typename T_y,
typename T_loc,
typename T_scale>
42 cauchy_log(
const T_y& y,
const T_loc& mu,
const T_scale& sigma) {
43 return cauchy_lpdf<T_y, T_loc, T_scale>(y, mu, sigma);
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
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...