Description Usage Arguments Value Note Author(s) See Also
Extract or replace the diagonal of a matrix
1 2 3 4 5 6 7 8 9 10 11 |
x |
A gpuR matrix object |
value |
A vector object (gpuR) |
A gpuR vector object of the matrix diagonal of x
. The
replacement form returns nothing as it replaces the diagonal of x
.
If an identity matrix is desired, please see identity_matrix.
Charles Determan Jr.
identity_matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.