rcpp_hdf5dataset_multiply

rcpp_hdf5dataset_multiply

OTHER

1 Description

Computes A \%*\% B (or transposed variants) for two HDF5 datasets referenced by external pointers, using the BigDataStatMeth block-wise multiplication algorithm.

2 Usage

rcpp_hdf5dataset_multiply(ptr_a, ptr_b, transpose_a = FALSE, transpose_b = FALSE, paral = NULL, block_size = NULL, threads = NULL, compression = NULL, outgroup = NULL, outdataset = NULL)

3 Arguments

Parameter Description
ptr_a External pointer (SEXP) for matrix A
ptr_b External pointer (SEXP) for matrix B
transpose_a Logical; transpose A before multiplying
transpose_b Logical; transpose B before multiplying
paral Logical or NULL; enable OpenMP parallelisation
block_size Integer or NULL; block size (NULL = auto)
threads Integer or NULL; thread count when
outgroup Character or NULL. Output group in the HDF5 file. Default .
outdataset Character or NULL. Output dataset name. Default where A and B are the input dataset names.

4 Value

Named list with (character) and (character) locating the result dataset within the HDF5 file.