Method

NumCosmoMathSpline2dset

Declaration [src]

void
ncm_spline2d_set (
  NcmSpline2d* s2d,
  NcmVector* xv,
  NcmVector* yv,
  NcmMatrix* zm,
  gboolean init
)

Description [src]

This funtion sets xv and yv vectors and zm matrix to s2d.

Parameters

xv

Type: NcmVector

A NcmVector of knots.

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

Type: NcmVector

A NcmVector of knots.

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

Type: NcmMatrix

A NcmMatrix of the values of the function, to be interpolated, computed at xv and yv.

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

Type: gboolean

TRUE to prepare the NcmSpline2d or FALSE to not prepare it.