Function

NumCosmoMathSpectralget_x2_matrix

Declaration [src]

NcmMatrix*
ncm_spectral_get_x2_matrix (
  guint N
)

Description [src]

Returns the multiplication by $x^2$ operator matrix that transforms Chebyshev $T_n$ coefficients of $f(x)$ to Gegenbauer $C^{(2)}_k$ coefficients of $x^2 \cdot f(x)$.

Parameters

N

Type: guint

Size of the matrix.

Return value

Type: NcmMatrix

The $x^2$ operator matrix.

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