Method

NumCosmoMathDatasetdup

Declaration [src]

NcmDataset*
ncm_dataset_dup (
  NcmDataset* dset,
  NcmSerialize* ser
)

Description [src]

Duplicates the object and all of its content.

Parameters

ser

Type: NcmSerialize

A NcmSerialize.

The data is owned by the caller of the method.

Return value

Type: NcmDataset

The duplicate of dset.

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