rowMultiply: A function to efficiently row multiply a matrix and a vector

Description Usage Arguments Details Value

View source: R/rowMultiply.R

Description

A function to efficiently row multiply a matrix and a vector

Usage

1

Arguments

matrix

a numeric matrix of dimension a-by-b

vector

a numeric vector of length b

t(t(matrix)*vector) but then faster

Details

Memory intensive but that does not matter with given matrix sizes

Value

a matrix, row multplied by the vector


combi documentation built on Nov. 8, 2020, 5:34 p.m.

Related to rowMultiply in combi...