Function

NumCosmoMathMatrixclear

Declaration [src]

void
ncm_matrix_clear (
  NcmMatrix** cm
)

Description [src]

Atomically decrements the reference count of cm by one. If the reference count drops to 0, all memory allocated by cm is released. The pointer is set to NULL.

Parameters

cm

Type: NcmMatrix

A NcmMatrix.

The data is owned by the caller of the function.