Description Usage Arguments Value Author(s) See Also Examples
The function takes a list
and constructs a block diagonal matrix with
the elements of the list on the diagonal. If d
is not a list then
d
will be repeated n
times and written on the diagonal (a wrapper for kronecker()
)
1 | diag.block(d, n)
|
d |
a |
n |
number of repetitions |
returns a matrix with the elements of the list or the repetitions of the supplied matrix or vector on the diagonal.
Wolfgang Lederer, wolfgang.lederer@gmail.com
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.