Method

NumCosmoMathSplineVecinteg_array

Declaration [src]

void
ncm_spline_vec_integ_array (
  NcmSplineVec* sv,
  const gdouble xi,
  const gdouble xf,
  GArray** res
)

Description [src]

Evaluates the integral of the vector function from xi to xf and stores the result in res. If *res is NULL, a new GArray is created. Otherwise, the existing array is reused.

Parameters

xi

Type: const gdouble

Initial x-coordinate.

xf

Type: const gdouble

Final x-coordinate.

res

Type: An array of double

Result array.

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.