Description Usage Arguments Details Value Author(s) See Also Examples

Creates a tensor with all entries one.

1 | ```
one.tensor(d=NULL,dn=NULL)
``` |

`d` |
the dimensions of the new tensor |

`dn` |
the dimnames of the new tensor |

*E_{i_1… i_n}=1*

A tensor with dim d and all elements one

K. Gerald van den Boogaart

1 | ```
one.tensor(c(a=3,b=3,c=3))
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.