vech_dup_idx | R Documentation |
Constructs index vector for transforming a vech vector into a vec vector to create an n*n symmetric matrix from the vech vector. tensor$index_select(0, idx)$view(3,3)
vech_dup_idx(n)
n |
size of the resulting square matrix |
array containing the indices
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.