one.tensor | R Documentation |
Creates a tensor with all entries one.
one.tensor(d=NULL,dn=NULL)
d |
the dimensions of the new tensor |
dn |
the dimnames of the new tensor |
E_{i_1\ldots i_n}=1
A tensor with dim d and all elements one
K. Gerald van den Boogaart
to.tensor
one.tensor(c(a=3,b=3,c=3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.