Function

NumCosmoMathVectorclear

Declaration [src]

void
ncm_vector_clear (
  NcmVector** cv
)

Description [src]

If cv is different from NULL, atomically decrements the reference count of cv by one. If the reference count drops to 0, all memory allocated by cv is released and cv is set to NULL.

Parameters

cv

Type: NcmVector

A NcmVector.

The data is owned by the caller of the function.