Constructor

NumCosmoMathSplineGslnew_by_id

Declaration [src]

NcmSplineGsl*
ncm_spline_gsl_new_by_id (
  NcmSplineGslType type_id
)

Description [src]

This function returns a new gsl NcmSpline which will use type interpolation method.

Parameters

type_id

Type: NcmSplineGslType

Gsl interpolation method id.

Return value

Type: NcmSplineGsl

A new NcmSpline.

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