multiply_sparse.HDF5Matrix: Sparse-aware matrix multiplication for HDF5Matrix

View source: R/S3_operations.R

multiply_sparse.HDF5MatrixR Documentation

Sparse-aware matrix multiplication for HDF5Matrix

Description

Computes x %*% y block-wise using BigDataStatMeth's sparse algorithm.

Usage

## S3 method for class 'HDF5Matrix'
multiply_sparse(
  x,
  y,
  outgroup = NULL,
  outdataset = NULL,
  block_size = -1L,
  mix_block = -1L,
  paral = NULL,
  threads = NULL,
  compression = NULL,
  ...
)

Arguments

x

An HDF5Matrix.

y

An HDF5Matrix. Same HDF5 file as x.

outgroup

Character or NULL. Output group in the HDF5 file. Default "OUTPUT".

outdataset

Character or NULL. Output dataset name. Default is constructed from the operation and input names.

block_size

Integer. Block size hint; -1 = auto (default).

mix_block

Integer. Memory block size for parallel path; -1 = auto.

paral

Logical or NULL.

threads

Integer or NULL.

compression

Integer (0-9) or NULL.

...

Ignored.

Value

A new HDF5Matrix.


BigDataStatMeth documentation built on May 15, 2026, 1:07 a.m.