Fast extraction of matrix diagonal
The matrix to extract the diagonal from
Note this function can only be used for extraction
A vector with the diagonal elements
Claus Ekstrom <[email protected]>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.