Method

NumCosmoMathLaurentSeriesTPSref

Declaration [src]

NcmLaurentSeriesTPS*
ncm_laurent_series_tps_ref (
  NcmLaurentSeriesTPS* tps
)

Description [src]

Increases the reference count of tps by one. This is the boxed type’s “copy” function: it shares the same underlying storage rather than deep-copying it (matching NcGalaxyShapeFactorData and siblings), so later mutations through any reference (e.g. the owning evaluator’s own compute step) are visible through every other outstanding reference.

Return value

Type: NcmLaurentSeriesTPS

tps.

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