Method
NumCosmoGalaxySDShapeeval_at_nodes
Declaration [src]
void
nc_galaxy_sd_shape_eval_at_nodes (
NcGalaxySDShape* gsds,
NcmMSet* mset,
NcGalaxySDShapeData* data,
const NcmVector* z_nodes,
NcmVector* out
)
Description [src]
Evaluates the shape likelihood P(epsilon_obs | z_j, data) at every GL node,
writing the result into out. Requires prior call to nc_galaxy_sd_shape_prepare_at_nodes().
Parameters
mset-
Type:
NcmMSetA
NcmMSet.The data is owned by the caller of the method. data-
Type:
NcGalaxySDShapeDataA
NcGalaxySDShapeData.The data is owned by the caller of the method. z_nodes-
Type:
NcmVectorThe z values at each GL node.
The data is owned by the caller of the method. out-
Type:
NcmVectorShape likelihood evaluated at each node.
The argument will be set by the function. The caller of the method takes ownership of the returned data, and is responsible for freeing it.