Constructor

NumCosmoHICosmoQSplinenew

Declaration [src]

NcHICosmoQSpline*
nc_hicosmo_qspline_new (
  NcmSpline* s,
  gsize np,
  gdouble z_f
)

Description [src]

Creates a new NcHICosmoQSpline with np knots up to redshift z_f.

Parameters

s

Type: NcmSpline

A NcmSpline.

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

Type: gsize

Number of knots.

z_f

Type: gdouble

Final redshift.

Return value

Type: NcHICosmoQSpline

A new NcHICosmoQSpline.

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