Constructor

NumCosmoWLSurfaceMassDensitynew

Declaration [src]

NcWLSurfaceMassDensity*
nc_wl_surface_mass_density_new (
  NcDistance* dist
)

Description [src]

This function allocates memory for a new NcWLSurfaceMassDensity object and sets its properties to the values from the input arguments.

Parameters

dist

Type: NcDistance

A NcDistance.

The data is owned by the caller of the function.

Return value

Type: NcWLSurfaceMassDensity

A new NcWLSurfaceMassDensity.

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