Function

NumCosmoMathutil_log_normal_gaussian_integral

Declaration [src]

gdouble
ncm_util_log_normal_gaussian_integral (
  const gdouble xl,
  const gdouble xu,
  gdouble* sign
)

Description [src]

Computes the logarithm of the integral of the Gaussian distribution with zero mean and unit variance between xl and xu. If sign is not NULL, the sign of the result (+/-1) is stored in *sign.

Parameters

xl

Type: const gdouble

The lower bound.

xu

Type: const gdouble

The upper bound.

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.

Return value

Type: gdouble

Log of the absolute value of the integral.