Function

NumCosmoMathSpectralget_x_matrix

Declaration [src]

NcmMatrix*
ncm_spectral_get_x_matrix (
  guint N
)

Description [src]

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

Parameters

N

Type: guint

Size of the matrix.

Return value

Type: NcmMatrix

The $x$ operator matrix.

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