bdiag function

bdiag

bdiag

Creates a block diagonal matrix with the matrix passed as argument.

bdiag(...)

Arguments

  • ...: A list of matrices to be used.

Returns

A block diagonal matrix whose diagonal elements are equal to the matrices passed as arguments.

  • Maintainer: Silvaneo dos Santos Jr.
  • License: GPL (>= 3)
  • Last published: 2025-03-20