Constructor

NumCosmoMathSplineCubicNotaknotnew_full

Declaration [src]

NcmSplineCubicNotaknot*
ncm_spline_cubic_notaknot_new_full (
  NcmVector* xv,
  NcmVector* yv,
  gboolean init
)

Description [src]

This function returns a new NcmSpline setting all its members.

Parameters

xv

Type: NcmVector

NcmVector of knots.

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

Type: NcmVector

NcmVector of the values of the function, to be interpolated, computed at xv.

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

Type: gboolean

TRUE to prepare the new NcmSpline or FALSE to not prepare it.

Return value

Type: NcmSplineCubicNotaknot

A new NcmSpline.

The caller of the function takes ownership of the data, and is responsible for freeing it.