Generates a permutation of time indices by concatenating random-length blocks sampled circularly from the ordered sequence. Used for creating block-permuted surrogates that preserve short-range temporal structure.
.circular_block_permute(idx, block_len)Integer vector of permuted indices of the same length as `idx`.
Integer vector of ordered indices.
Positive integer block length (>= 1).