Method

NumCosmoMathSplineVeceval_array

Declaration [src]

void
ncm_spline_vec_eval_array (
  NcmSplineVec* sv,
  const gdouble x,
  GArray** res
)

Description [src]

Evaluates the vector function at x and stores the result in res. If *res is NULL, a new GArray is created. Otherwise, the existing array is reused.

Parameters

x

Type: const gdouble

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.