% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/RcppExports.R
\name{rcpp_hdf5dataset_subset}
\alias{rcpp_hdf5dataset_subset}
\title{Read block from HDF5 dataset (subsetting)}
\usage{
rcpp_hdf5dataset_subset(ptr_sexp, rows, cols)
}
\arguments{
\item{ptr_sexp}{External pointer to hdf5Dataset}

\item{rows}{Integer vector with row indices (1-based, as in R)}

\item{cols}{Integer vector with column indices (1-based, as in R)}
}
\value{
Numeric matrix with requested data
}
\description{
Read block from HDF5 dataset (subsetting)
}
\details{
This function reads a subset of data from an HDF5 dataset.
Indices are 1-based (R convention) and converted internally to 0-based (C++ convention).

The function handles:
\itemize{
\item Contiguous blocks (e.g., rows 1:10)
\item Non-contiguous indices (e.g., rows c(1,3,5,7))
\item Full dimensions (e.g., all rows, specific columns)
}
}
\keyword{internal}
