mc_build_bdiag: Build a block-diagonal matrix of zeros.

View source: R/mc_build_bdiag.R

mc_build_bdiagR Documentation

Build a block-diagonal matrix of zeros.

Description

Build a block-diagonal matrix of zeros. Such functions is used when computing the derivatives of the Cholesky decomposition of C.

Usage

mc_build_bdiag(n_resp, n_obs)

Arguments

n_resp

A numeric specifyng the number of response variables.

n_obs

A numeric specifying the number of observations in the data set.

Details

It is an internal function.

Value

A list of zero matrices.

Author(s)

Wagner Hugo Bonat


mcglm documentation built on Sept. 16, 2022, 1:06 a.m.