Function

NumCosmoMathLaurentSeriesTPSnew

Declaration [src]

NcmLaurentSeriesTPS*
ncm_laurent_series_tps_new (
  guint order
)

Description [src]

Creates a new NcmLaurentSeriesTPS of order order ($N+1$ zero coefficients, each an independently owned NcmLaurentSeries) plus its own private conv() scratch. Order is immutable for the object’s whole life — meant to be constructed once and refilled many times (see nc_wl_ellipticity_series.c), not a short-lived per-call temporary.

Parameters

order

Type: guint

The truncation order $N$.

Return value

Type: NcmLaurentSeriesTPS

A new NcmLaurentSeriesTPS.

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