Skip to contents

Transforms a matrix such that matrix_stats or matrix multiplies with a vector/dense matrix will be evaluated in parallel. This only speeds up those specific operations, not reading or writing the matrix in general. The parallelism is not guaranteed to work if additional operations are applied after the parallel split.

Usage

parallel_split(mat, threads, chunks = threads)

Arguments

mat

IterableMatrix

threads

Number of execution threads

chunks

Number of chunks to use (>= threads)

Value

IterableMatrix which will perform certain operations in parallel