Method

NumCosmoMathSpline2deval_vec_y

Declaration [src]

void
ncm_spline2d_eval_vec_y (
  NcmSpline2d* s2d,
  gdouble x,
  const NcmVector* y,
  GArray* order,
  GArray* res
)

Description [src]

Computes the interpolated values of a function computed at the point (x, y) for each element of y. The order of the indices of y is given by order.

Parameters

x

Type: gdouble

X-coordinate value.

y

Type: NcmVector

A NcmVector.

The data is owned by the caller of the method.
order

Type: An array of gsize

An array of containing the order of the indices of y.

The argument can be NULL.
The data is owned by the caller of the method.
res

Type: An array of double

An array of the same size as y to store the interpolated values.

The data is owned by the caller of the method.