Method

NumCosmoMathFftlogget_array_index

Declaration [src]

gint
ncm_fftlog_get_array_index (
  NcmFftlog* fftlog,
  gint phys_i
)

Description [src]

Gets the array index i of the Fourier decomposition. This index corresponds the position in the fft array of the element $n$ in Eq. \eqref{eq:Gr_decomp}.

Parameters

phys_i

Type: gint

Index.

Return value

Type: gint

The array index corresponding to phys_i.