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
5
6namespace stan {
7namespace math {
8
12template <typename T_y, typename T_lower, typename T_upper>
13double 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
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...
double discrete_range_cdf_log(const T_y &y, const T_lower &lower, const T_upper &upper)
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...
Definition fvar.hpp:9