% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/time_series_blocks.R
\name{.circular_block_permute}
\alias{.circular_block_permute}
\title{Circular block permutation indices}
\usage{
.circular_block_permute(idx, block_len)
}
\arguments{
\item{idx}{Integer vector of ordered indices.}

\item{block_len}{Positive integer block length (>= 1).}
}
\value{
Integer vector of permuted indices of the same length as `idx`.
}
\description{
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.
}
\keyword{internal}
