1 #ifndef STAN_MATH_PRIM_SCAL_PROB_EXPONENTIAL_LOG_HPP 2 #define STAN_MATH_PRIM_SCAL_PROB_EXPONENTIAL_LOG_HPP 38 template <
bool propto,
typename T_y,
typename T_inv_scale>
40 const T_y& y,
const T_inv_scale&
beta) {
41 return exponential_lpdf<propto, T_y, T_inv_scale>(y,
beta);
47 template <
typename T_y,
typename T_inv_scale>
49 const T_y& y,
const T_inv_scale&
beta) {
50 return exponential_lpdf<T_y, T_inv_scale>(y,
beta);
fvar< T > beta(const fvar< T > &x1, const fvar< T > &x2)
Return fvar with the beta function applied to the specified arguments and its gradient.
boost::math::tools::promote_args< double, typename scalar_type< T >::type, typename return_type< Types_pack... >::type >::type type
return_type< T_y, T_inv_scale >::type exponential_log(const T_y &y, const T_inv_scale &beta)
The log of an exponential density for y with the specified inverse scale parameter.