Constructor

NumCosmoMathOdeSplinenew

Declaration [src]

NcmOdeSpline*
ncm_ode_spline_new (
  NcmSpline* s,
  NcmOdeSplineDydx dydx
)

Description [src]

This function creates a new NcmOdeSpline.

Parameters

s

Type: NcmSpline

A NcmSpline.

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

Type: NcmOdeSplineDydx

A NcmOdeSplineDydx.

Return value

Type: NcmOdeSpline

A new NcmOdeSpline.

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