Method

NumCosmoMathComplexdup

Declaration [src]

NcmComplex*
ncm_complex_dup (
  NcmComplex* c
)

Description [src]

Allocates a new complex number and copy the contents of c to it.

Return value

Type: NcmComplex

A new NcmComplex.

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