Learn R Programming

BigDataStatMeth (version 2.0.3)

multiply_sparse.HDF5Matrix: Sparse-aware matrix multiplication for HDF5Matrix

Description

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

Usage

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

Value

A new HDF5Matrix.

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.