Method

NumCosmoMathDatadup

Declaration [src]

NcmData*
ncm_data_dup (
  NcmData* data,
  NcmSerialize* ser_obj
)

Description [src]

Duplicate the data object.

Parameters

ser_obj

Type: NcmSerialize

A NcmSerialize.

The data is owned by the caller of the method.

Return value

Type: NcmData

A duplicate of data.

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