Stan Math Library
2.15.0
reverse mode automatic differentiation
stan
math
prim
scal
prob
exponential_cdf_log.hpp
Go to the documentation of this file.
1
#ifndef STAN_MATH_PRIM_SCAL_PROB_EXPONENTIAL_CDF_LOG_HPP
2
#define STAN_MATH_PRIM_SCAL_PROB_EXPONENTIAL_CDF_LOG_HPP
3
4
#include <
stan/math/prim/scal/meta/return_type.hpp
>
5
#include <
stan/math/prim/scal/prob/exponential_lcdf.hpp
>
6
7
namespace
stan
{
8
namespace
math {
9
13
template
<
typename
T_y,
typename
T_inv_scale>
14
typename
return_type<T_y, T_inv_scale>::type
15
exponential_cdf_log
(
const
T_y& y,
const
T_inv_scale& beta) {
16
return
exponential_lcdf<T_y, T_inv_scale>(y, beta);
17
}
18
19
}
20
}
21
#endif
exponential_lcdf.hpp
stan
Definition:
log_sum_exp.hpp:8
return_type.hpp
stan::return_type::type
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
stan::math::exponential_cdf_log
return_type< T_y, T_inv_scale >::type exponential_cdf_log(const T_y &y, const T_inv_scale &beta)
Definition:
exponential_cdf_log.hpp:15
[
Stan Home Page
]
© 2011–2016, Stan Development Team.