Description Usage Arguments Value Author(s) Examples
Creates a diagonal matrix from a vector
1 | diagonal(d)
|
d |
A numerical vector |
A diagonal matrix wirh the values of vector in the diagonal a zeros elsewhere
Jose Luis Vicente Villardon
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.