Method

NumCosmoMathSplineVecset

Declaration [src]

void
ncm_spline_vec_set (
  NcmSplineVec* sv,
  NcmVector* xv,
  NcmMatrix* ym,
  gboolean init
)

Description [src]

Sets the data for sv from a matrix. Each row of ym 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.
ym

Type: NcmMatrix

A NcmMatrix where each row is a y-vector for a component.

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

Type: gboolean

Whether to initialize the splines immediately.