Function

NumCosmoMathSBesselOdeSolverF

Declaration

gdouble
(* NcmSBesselOdeSolverF) (
  gpointer user_data,
  gdouble x
)

Description [src]

Callback function type for the right-hand side forcing term $f(x)$ in the modified spherical Bessel ODE. The function is evaluated at physical coordinates $x \in [a,b]$ and should return $f(x)$ corresponding to the inhomogeneous term.

Parameters

user_data

Type: gpointer

User-provided data pointer passed through from the caller.

The argument can be NULL.
The data is owned by the caller of the function.
x

Type: gdouble

Evaluation point in the physical domain (not the mapped Chebyshev domain).

Return value

Type: gdouble

The value $f(x)$ at the given point x.