Method

NumCosmoMathSplineVecderiv

Declaration [src]

void
ncm_spline_vec_deriv (
  NcmSplineVec* sv,
  const gdouble x,
  NcmVector* res
)

Description [src]

Evaluates the derivative of the vector function at x. Uses a single binary search followed by index-based derivative evaluation for all components.

The vector res must have length equal to the number of components.

Parameters

x

Type: const gdouble

X-coordinate.

res

Type: NcmVector

A NcmVector to store the result.

The data is owned by the caller of the method.