% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sobol_generator.R
\name{sobol_index}
\alias{sobol_index}
\title{Get Current Index of a Sobol Generator}
\usage{
sobol_index(x, ...)
}
\arguments{
\item{x}{A sobol_generator object created by \code{\link{sobol_generator}}}

\item{...}{Additional arguments (currently unused)}
}
\value{
A numeric value representing the current index (0-based).
}
\description{
Returns the current index of the generator, which is the index of the
next point that will be generated.
}
\examples{
gen <- sobol_generator(dimensions = 2)
sobol_next(gen)
sobol_next(gen)
idx <- sobol_index(gen)
print(idx) # 2

}
