Description Usage Arguments Value Author(s) See Also Examples
Split a vector x into a block diagonal matrix.
1 | blodiag(x, blo)
|
x |
A vector of length |
blo |
A vector of positive integers such that |
A block-diagonal matrix with as many row as elements of blo
and n
columns.
The vector x
is split into length(blo)
sub-vectors and these are the blocks
of the resulting matrix.
Giovanni M. Marchetti
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.