rcpp_hdf5dataset_div_ew

rcpp_hdf5dataset_div_ew

OTHER

1 Description

Computes A / B element-wise for two HDF5 datasets referenced by external pointers, using a block-wise algorithm. Division by zero produces NaN or Inf, matching base R behaviour.

2 Usage

rcpp_hdf5dataset_div_ew(ptr_a, ptr_b, paral = NULL, block_size = NULL, threads = NULL, compression = NULL)

3 Arguments

Parameter Description
ptr_a External pointer (SEXP) for matrix A
ptr_b External pointer (SEXP) for matrix B
paral Logical or NULL; enable OpenMP parallelisation
block_size Integer or NULL; block size (NULL = auto)
threads Integer or NULL; thread count

4 Value

Named list with and of the result. The result is stored in group with dataset name (resp. , , ) where A and B are the input dataset names.