DelayedDiagonalArray | R Documentation |
Constructor of the diagonal of a DelayedArray.
DelayedDiagonalArray(shape, value)
shape |
Shape of DelayedArray (mode of Tensor) |
value |
either a single value or a vector. This argument is optional. If nothing is specified, 1s are filled with each diagonal element. |
See also diag
or diag
.
DelayedArray object
T. Kolda, B. Bader, "Tensor decomposition and applications". SIAM Applied Mathematics and Applications 2009.
diag
, diag
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.