Constructor

NumCosmoDistancenew

Declaration [src]

NcDistance*
nc_distance_new (
  gdouble zf
)

Description [src]

Creates a new NcDistance object optimized to perform distance calculations to redshift up to zf.

Parameters

zf

Type: gdouble

Final redshift.

Return value

Type: NcDistance

A new NcDistance.

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