block_diag | R Documentation |
Constructs a block diagonal matrix from a list of square matrices
block_diag(...)
... |
list of matrices or individual matrices |
block diagonal matrix
library(spectralGraphTopology) X <- L(c(1, 0, 1)) Y <- L(c(1, 0, 1, 0, 0, 1)) B <- block_diag(X, Y) B
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.