Method

NumCosmoMathSplineVecset_gpa

Declaration [src]

void
ncm_spline_vec_set_gpa (
  NcmSplineVec* sv,
  NcmVector* xv,
  GPtrArray* yv,
  gboolean init
)

Description [src]

Sets the data for sv from a GPtrArray of y-vectors. Each element of yv corresponds to one component of the vector function.

Parameters

xv

Type: NcmVector

A NcmVector containing the x-coordinates.

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

Type: An array of NcmVector*

A GPtrArray of NcmVector containing the y-coordinates for each component.

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

Type: gboolean

Whether to initialize the splines immediately.