Method
NumCosmoMathDiffrc_d2_N_to_M
Declaration [src]
GArray*
ncm_diff_rc_d2_N_to_M (
NcmDiff* diff,
GArray* x_a,
const guint dim,
NcmDiffFuncNtoM f,
gpointer user_data,
GArray** Eerr
)
Description [src]
Calculates the second derivative of f: $\partial_i^2 f$ using the central method plus
Richardson extrapolation. The function $f$ is considered as a $f:\mathbb{R}^N\to \mathbb{R}^M$,
where $N = $ length of x_a and $M = $ dim.
Parameters
x_a-
Type: An array of
doubleFunction argument.
The data is owned by the caller of the method. dim-
Type:
const guintDimension of
f. f-
Type:
NcmDiffFuncNtoMFunction to differentiate.
user_data-
Type:
gpointerFunction user data.
The argument can be NULL.The data is owned by the caller of the method. Eerr-
Type: An array of
doubleEstimated errors.
The argument will be set by the function. The caller of the method takes ownership of the returned data, and is responsible for freeing it.