Stan Math Library
5.0.0
Automatic Differentiation
|
return_type_t< T_y, T_scale_succ, T_scale_fail > stan::math::beta_lcdf | ( | const T_y & | y, |
const T_scale_succ & | alpha, | ||
const T_scale_fail & | beta_param | ||
) |
Returns the beta log cumulative distribution function for the given probability, success, and failure parameters.
Any arguments other than scalars must be containers of the same size. With non-scalar arguments, the return is the sum of the log cdfs with scalars broadcast as necessary.
T_y | type of y |
T_scale_succ | type of success parameter |
T_scale_fail | type of failure parameter |
y | (Sequence of) scalar(s) between zero and one |
alpha | (Sequence of) success parameter(s) |
beta_param | (Sequence of) failure parameter(s) |
std::domain_error | if alpha or beta is negative |
std::domain_error | if y is not a valid probability |
std::invalid_argument | if container sizes mismatch |
Definition at line 41 of file beta_lcdf.hpp.