Description Usage Arguments Note
Diagonal matrix
1 2 3 4 |
x |
A "dual" object. |
A single column matrix is treated as a vector. If one wants to call
diag
on a single column matrix x
, one can call
x[1, 1]
instead.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.