Function

NumCosmoMathutil_1msinx

Declaration [src]

gdouble
ncm_util_1msinx (
  const gdouble sinx,
  const gdouble cosx
)

Description [src]

Calculates $1 - \sin(x)$ using the appropriated taylor series when $\sin(x) \approx 1$.

Parameters

sinx

Type: const gdouble

A real number $\sin(x)$.

cosx

Type: const gdouble

A real number $\cos(x)$.

Return value

Type: gdouble

$1 - \sin(x)$.