Automatic Differentiation
 
Loading...
Searching...
No Matches
discrete_range_ccdf_log.hpp
Go to the documentation of this file.
1#ifndef STAN_MATH_PRIM_PROB_DISCRETE_RANGE_CCDF_LOG_HPP
2#define STAN_MATH_PRIM_PROB_DISCRETE_RANGE_CCDF_LOG_HPP
3
5
6namespace stan {
7namespace math {
8
12template <typename T_y, typename T_lower, typename T_upper>
13double discrete_range_ccdf_log(const T_y& y, const T_lower& lower,
14 const T_upper& upper) {
15 return discrete_range_lccdf(y, lower, upper);
16}
17
18} // namespace math
19} // namespace stan
20#endif
double discrete_range_ccdf_log(const T_y &y, const T_lower &lower, const T_upper &upper)
double discrete_range_lccdf(const T_y &y, const T_lower &lower, const T_upper &upper)
Return the log CCDF of a discrete range distribution for the given y, lower and upper bounds (all int...
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...