grapes-d-times-grapes: Fast matrix algebra with diagonal matrices.

Description Usage Arguments Value Author(s)

Description

This implementation does not involve sparse matrix structure.

Usage

1
d %d*% M

Arguments

d

"vector" Diagonal elements form a diagonal matrix.

M

"matrix" Dense matrix that is conformable to matrix diag(d).

Value

New conformable matrix.

Author(s)

Feng Li, Department of Statistics, Stockholm University, Sweden.


feng-li/flutils documentation built on Oct. 1, 2020, 9:09 p.m.