Constructor of the diagonal of a DelayedArray.
Shape of DelayedArray (mode of Tensor)
either a single value or a vector. This argument is optional. If nothing is specified, 1s are filled with each diagonal element.
T. Kolda, B. Bader, "Tensor decomposition and applications". SIAM Applied Mathematics and Applications 2009.
darr <- DelayedDiagonalArray(2:4, 5) DelayedTensor::diag(darr)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.