Top |
NcPowspecMNL * | nc_powspec_mnl_ref () |
void | nc_powspec_mnl_free () |
void | nc_powspec_mnl_clear () |
This module comprises the set of functions to compute a power spectrum and derived quantities.
NcPowspecMNL *
nc_powspec_mnl_ref (NcPowspecMNL *ps_mnl
);
Increases the reference count of ps_mnl
by one atomically.
void
nc_powspec_mnl_free (NcPowspecMNL *ps_mnl
);
Atomically decrements the reference count of ps_mnl
by one.
If the reference count drops to 0, all memory allocated by ps_mnl
is released.
void
nc_powspec_mnl_clear (NcPowspecMNL **ps_mnl
);
If ps_mnl
is different from NULL,
atomically decrements the reference count of ps_mnl
by one.
If the reference count drops to 0,
all memory allocated by ps_mnl
is released and ps_mnl
is set to NULL.