Description Usage Arguments Examples
View source: R/diagonalizematrix.R
Using a n*m matrix A, this function constructs a block-diagonal matrix with dimension (n*ntimes) * (m*ntimes), with all blocks equal to matrix A and the rest of entries equal to 0.
1 | diagonalizematrix(A, ntimes)
|
A |
|
ntimes |
number of times. |
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.