Function

NumCosmoMathSpectralget_s_matrix

Declaration [src]

NcmMatrix*
ncm_spectral_get_s_matrix (
  guint N
)

Description [src]

Builds the $N \times N$ matrix of multiplication by $s$ from the $T_n$ coefficients of $f$ to the $C^{(2)}_k$ coefficients of $s f$, truncated to the first $N$ columns.

Parameters

N

Type: guint

Size of the matrix.

Return value

Type: NcmMatrix

The operator matrix.

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