Method

NumCosmoMathSParamcopy

Declaration [src]

NcmSParam*
ncm_sparam_copy (
  NcmSParam* sparam
)

Description [src]

Duplicates the NcmSParam object setting the same values of the original propertities.

Return value

Type: NcmSParam

A new NcmSParam.

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