Diagonal matrix (memoised)
1 |
... |
'n' integer; the dimension of the square matrix. 'x' A scalar or a vector to be placed on the diagonal of the matrix. Use empty argument to clear the cache. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.