Function

NumCosmoMathSpectralget_d_matrix

Declaration [src]

NcmMatrix*
ncm_spectral_get_d_matrix (
  guint N
)

Description [src]

Returns the derivative operator matrix that transforms Chebyshev $T_n$ coefficients of $f(x)$ to Gegenbauer $C^{(2)}_k$ coefficients of $\frac{df}{dx}$.

Parameters

N

Type: guint

Size of the matrix.

Return value

Type: NcmMatrix

The derivative operator matrix.

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