Function

NumCosmoMathcmpdbl

Declaration [src]

gdouble
ncm_cmpdbl (
  const gdouble x,
  const gdouble y
)

Description [src]

Compares x and y and returns the difference between them relative to their mean.

Parameters

x

Type: const gdouble

A double.

y

Type: const gdouble

A double.

Return value

Type: gdouble

$\frac{2(x-y)}{x+y}$.