Constructor

NumCosmoDataClusterWLFactornew

Declaration [src]

NcDataClusterWLFactor*
nc_data_cluster_wl_factor_new (
  NcGalaxyPositionFactor* position_factor,
  NcGalaxyRedshiftFactor* redshift_factor,
  NcGalaxyShapeFactor* shape_factor
)

Description [src]

Creates a new NcDataClusterWLFactor holding position_factor, redshift_factor and shape_factor (construct-only: these three cannot be replaced after construction).

Parameters

position_factor

Type: NcGalaxyPositionFactor

A NcGalaxyPositionFactor.

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

Type: NcGalaxyRedshiftFactor

A NcGalaxyRedshiftFactor.

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

Type: NcGalaxyShapeFactor

A NcGalaxyShapeFactor.

The data is owned by the caller of the function.

Return value

Type: NcDataClusterWLFactor

A new NcDataClusterWLFactor.

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