Stan Math Library
5.0.0
Automatic Differentiation
Loading...
Searching...
No Matches
discrete_range_cdf_log.hpp
Go to the documentation of this file.
1
#ifndef STAN_MATH_PRIM_PROB_DISCRETE_RANGE_CDF_LOG_HPP
2
#define STAN_MATH_PRIM_PROB_DISCRETE_RANGE_CDF_LOG_HPP
3
4
#include <
stan/math/prim/prob/discrete_range_lcdf.hpp
>
5
6
namespace
stan
{
7
namespace
math {
8
12
template
<
typename
T_y,
typename
T_lower,
typename
T_upper>
13
double
discrete_range_cdf_log
(
const
T_y& y,
const
T_lower& lower,
14
const
T_upper& upper) {
15
return
discrete_range_lcdf
(y, lower, upper);
16
}
17
18
}
// namespace math
19
}
// namespace stan
20
#endif
discrete_range_lcdf.hpp
stan::math::discrete_range_lcdf
double discrete_range_lcdf(const T_y &y, const T_lower &lower, const T_upper &upper)
Return the log CDF of a discrete range distribution for the given y, lower and upper bounds (all inte...
Definition
discrete_range_lcdf.hpp:38
stan::math::discrete_range_cdf_log
double discrete_range_cdf_log(const T_y &y, const T_lower &lower, const T_upper &upper)
Definition
discrete_range_cdf_log.hpp:13
stan
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...
Definition
unit_vector_constrain.hpp:15
stan
math
prim
prob
discrete_range_cdf_log.hpp
[
Stan Home Page
]
© 2011–2019, Stan Development Team.