Method

NumCosmoMathStatsVecget_autocorr

Declaration [src]

NcmVector*
ncm_stats_vec_get_autocorr (
  NcmStatsVec* svec,
  guint p
)

Description [src]

Calculates the autocorrelation vector, the j-th element represent the self-correlation with lag-j.

The returning vector use the internal memory allocation and will change with subsequent calls to ncm_stats_vec_get_autocorr().

Parameters

p

Type: guint

Parameter id.

Return value

Type: NcmVector

The autocorrelation vector.

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