blockDiag: Compute a block diagonal matrix w/ constant blocks

Description Usage Arguments

View source: R/helper_functions.R

Description

The function returns kronecker(diag(nrep), Amat), but is computed more efficiently

Usage

1
blockDiag(Amat, nrep)

Arguments

Amat

matrix to populate the diagaonal blocks

nrep

number of blocks on the diagonal


drkowal/FDLM documentation built on May 20, 2019, 5:20 p.m.