fm.multiplyR Documentation

Matrix multiplication

Description

Multiply a sparse/dense matrix with a dense vector/matrix.

Usage

fm.multiply(fm, mat)

Arguments

fm

A FlashR matrix

mat

A FlashR dense matrix.

Value

a FlashR vector if the second argument is a vector; a FlashR matrix if the second argument is a matrix.

Author(s)

Da Zheng <dzheng5@jhu.edu>

Examples

mat1 <- fm.runif.matrix(1000, 100)
mat2 <- fm.runif.matrix(100, 10)
mat <- fm.multiply(mat1, mat2)