% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/RcppExports.R
\name{rcpp_hdf5dataset_subtract}
\alias{rcpp_hdf5dataset_subtract}
\title{Element-wise subtraction of two HDF5 datasets (R6 wrapper)}
\usage{
rcpp_hdf5dataset_subtract(
  ptr_a,
  ptr_b,
  paral = NULL,
  block_size = NULL,
  threads = NULL,
  compression = NULL
)
}
\arguments{
\item{ptr_a}{External pointer (SEXP) for matrix A}

\item{ptr_b}{External pointer (SEXP) for matrix B}

\item{paral}{Logical or NULL; enable OpenMP parallelisation}

\item{block_size}{Integer or NULL; block size (NULL = auto)}

\item{threads}{Integer or NULL; thread count}
}
\value{
Named list with \code{filename} and \code{path} of the result.
The result is stored in group \code{"OUTPUT"} with dataset name
\code{"A_plus_B"} (resp. \code{"A_minus_B"}, \code{"A_times_B"},
\code{"A_div_B"}) where A and B are the input dataset names.
}
\description{
Computes \code{A - B} element-wise for two HDF5 datasets referenced by
external pointers, using a block-wise algorithm.
}
\keyword{internal}
