Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ chi_square_lcdf()

template<typename T_y , typename T_dof >
return_type_t< T_y, T_dof > stan::math::chi_square_lcdf ( const T_y &  y,
const T_dof &  nu 
)

Returns the chi square log cumulative distribution function for the given variate and degrees of freedom.

If given containers of matching sizes, returns the log sum of probabilities.

Template Parameters
T_ytype of scalar parameter
T_doftype of degrees of freedom parameter
Parameters
yscalar parameter
nudegrees of freedom parameter
Returns
log probability or log sum of probabilities
Exceptions
std::domain_errorif y is negative or nu is nonpositive
std::invalid_argumentif container sizes mismatch

Definition at line 38 of file chi_square_lcdf.hpp.