17 return (1./(1.-gamma))*
pow((1.-gamma)/gamma,gamma)*
elem_div(
exp(alpha*gamma*(beta-x)),1.+
exp(alpha*(beta-x)));
23 return (1./(1.-gamma))*
pow((1.-gamma)/gamma,gamma)*
elem_div(
exp(alpha*gamma*(beta-x)),1.+
exp(alpha*(beta-x)));
Vector of double precision numbers.
d3_array elem_div(const d3_array &a, const d3_array &b)
Returns d3_array results with computed elements division of a(i, j, k) / b(i, j, k).
dvar_vector eplogis(const dvar_vector &x, const dvariable &alpha, const dvariable &beta, const dvariable &gamma)
d3_array exp(const d3_array &arr3)
Returns d3_array results with computed exp from elements in arr3.
dvariable beta(const prevariable &a, const prevariable &b)
Beta density function.
Library of statistic functions.
Fundamental data type for reverse mode automatic differentiation.
d3_array pow(const d3_array &m, int e)
Description not yet available.