Constructor

NumCosmoHICosmoDEWSplinenew

Declaration [src]

NcHICosmoDEWSpline*
nc_hicosmo_de_wspline_new (
  gsize nknots,
  const gdouble z_f
)

Description [src]

This function instantiates a new object of type NcHICosmoDEWSpline.

Parameters

nknots

Type: gsize

Number of knots in the $w(z)$ spline.

z_f

Type: const gdouble

Redshift $z_f$ of the last knot.

Return value

Type: NcHICosmoDEWSpline

A new NcHICosmoDEWSpline.

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