Function
NumCosmoMathutil_log_gaussian_integral
Declaration [src]
gdouble
ncm_util_log_gaussian_integral (
const gdouble xl,
const gdouble xu,
const gdouble mu,
const gdouble sigma,
gdouble* sign
)
Description [src]
Computes the logarithm of the integral of the Gaussian distribution with mean mu and
standard deviation sigma between xl and xu. Uses the standard normal log integral.
If sign is not NULL, the sign of the result (+/-1) is stored in *sign.
Parameters
xl-
Type:
const gdoubleThe lower bound.
xu-
Type:
const gdoubleThe upper bound.
mu-
Type:
const gdoubleThe mean.
sigma-
Type:
const gdoubleThe standard deviation.
sign-
Type:
gdouble*Pointer to a gdouble to store the sign of the integral.
The argument can be NULL.The data is owned by the caller of the function.