BlockMatrix | R Documentation |
Creates a block diagonal matrix with its arguments as the blocks.
BlockMatrix(...)
... |
Matrices that should be put on the diagonal. |
BlockMatrix()
tries to coerce its arguments to a matrix,
using as.matrix
.
Block diagonal matrix having the specified matrices on its diagonal.
Dylan Beijers, dylanbeijers@gmail.com
BlockMatrix(diag(ceiling(9 * stats::runif(5))), matrix(1:8, 4, 2), c(14, 8))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.