Method

NumCosmoMathVectordup

Declaration [src]

NcmVector*
ncm_vector_dup (
  const NcmVector* cv
)

Description [src]

This function copies the elements of the constant vector cv into the new NcmVector.

Return value

Type: NcmVector

A NcmVector.

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