num::autocorr_time¶
Defined in header <stats/stats.hpp>
template <typename Float = double, std::integral Index = num::idx>
Float autocorr_time(const Float *data, Index n, Float c = Float{6.0});
Estimate the integrated autocorrelation time: \(\tau = \tfrac{1}{2} + \sum_{t \ge 1} \rho(t)\).