Method

NumCosmoMathLaurentSeriesTPSadd

Declaration [src]

void
ncm_laurent_series_tps_add (
  NcmLaurentSeriesTPS* out,
  const NcmLaurentSeriesTPS* a,
  const NcmLaurentSeriesTPS* b,
  gdouble sb
)

Description [src]

Term-by-term $out_m=a_m+sb\cdot b_m$. Writes straight into outs existing slots, no scratch NcmLaurentSeries needed.

Parameters

a

Type: NcmLaurentSeriesTPS

A NcmLaurentSeriesTPS.

The data is owned by the caller of the method.
b

Type: NcmLaurentSeriesTPS

A NcmLaurentSeriesTPS, same order as a.

The data is owned by the caller of the method.
sb

Type: gdouble

Scale factor applied to b.