Method

NumCosmoMathDTuple2copy

Declaration [src]

NcmDTuple2*
ncm_dtuple2_copy (
  const NcmDTuple2* dt2
)

Description [src]

Creates a new NcmDTuple2 with the same values of dt2.

Return value

Type: NcmDTuple2

A new NcmDTuple2.

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