Method

NumCosmoMathSpectralref

Declaration [src]

NcmSpectral*
ncm_spectral_ref (
  NcmSpectral* spectral
)

Description [src]

Increases the reference count of spectral by one.

Return value

Type: NcmSpectral

spectral.

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