Stan Math Library
4.9.0
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
4
#include <
stan/math/prim/prob/discrete_range_lccdf.hpp
>
5
6
namespace
stan
{
7
namespace
math {
8
12
template
<
typename
T_y,
typename
T_lower,
typename
T_upper>
13
double
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
discrete_range_lccdf.hpp
stan::math::discrete_range_ccdf_log
double discrete_range_ccdf_log(const T_y &y, const T_lower &lower, const T_upper &upper)
Definition
discrete_range_ccdf_log.hpp:13
stan::math::discrete_range_lccdf
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...
Definition
discrete_range_lccdf.hpp:38
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_ccdf_log.hpp
[
Stan Home Page
]
© 2011–2019, Stan Development Team.