Constructor

NumCosmoMathSpline2dSplinenew

Declaration [src]

NcmSpline2d*
ncm_spline2d_spline_new (
  NcmSpline* s
)

Description [src]

This function initializes a NcmSpline2d object with a spline method given in s.

Parameters

s

Type: NcmSpline

A NcmSpline.

The data is owned by the caller of the function.

Return value

Type: NcmSpline2d

A new NcmSpline2d.

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