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 matrices with elements equal to zero. The returned object is intended for internal use only.

Author(s)

Wagner Hugo Bonat


mcglm documentation built on Jan. 9, 2026, 1:07 a.m.