Constructor

NumCosmoScalefactornew

Declaration [src]

NcScalefactor*
nc_scalefactor_new (
  const gdouble zf,
  NcDistance* dist
)

Description [src]

Creates a new NcScalefactor valid for calculations in the $[0, z_f]$ interval.

Parameters

zf

Type: const gdouble

Maximum redshift $z_f$.

dist

Type: NcDistance

A NcDistance.

The data is owned by the caller of the function.

Return value

Type: NcScalefactor

A new NcScalefactor.

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