Constructor

NumCosmoMathSplineBSplinenew_tol

Declaration [src]

NcmSplineBSpline*
ncm_spline_bspline_new_tol (
  gdouble reltol,
  gdouble abstol
)

Description [src]

Creates an empty B-spline that sets its order on preparation, see NcmSplineBSpline:reltol.

Parameters

reltol

Type: gdouble

The relative interpolation error requested.

abstol

Type: gdouble

The absolute interpolation error requested.

Return value

Type: NcmSplineBSpline

A new NcmSplineBSpline.

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