The delta tensor is the tensor equivalent of the identity.

1 | ```
delta.tensor(d,mark="'",dn=NULL,by=NULL)
``` |

`d` |
the row dimensions |

`mark` |
a character to be concatenated to the names of the row dimensions to get the column dimension names |

`dn` |
dimnames for the result |

`by` |
the dimensions which should not be duplicated |

*
E_{i_1...i_n j_1...j_n}=δ_{i_1j_1}...δ_{i_n j_n}*

a tensor with dimension `c(d,mark(d,mark))`

K. Gerald van den Boogaart

`to.tensor`

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

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.