Description Usage Arguments Details Value Author(s) See Also Examples
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
1 | delta.tensor(c(a=2,b=3))
|
Attaching package: ‘tensorA’
The following object is masked from ‘package:base’:
norm
, , 1, 1
b
a [,1] [,2] [,3]
[1,] 1 0 0
[2,] 0 0 0
, , 2, 1
b
a [,1] [,2] [,3]
[1,] 0 0 0
[2,] 1 0 0
, , 1, 2
b
a [,1] [,2] [,3]
[1,] 0 1 0
[2,] 0 0 0
, , 2, 2
b
a [,1] [,2] [,3]
[1,] 0 0 0
[2,] 0 1 0
, , 1, 3
b
a [,1] [,2] [,3]
[1,] 0 0 1
[2,] 0 0 0
, , 2, 3
b
a [,1] [,2] [,3]
[1,] 0 0 0
[2,] 0 0 1
attr(,"class")
[1] "tensor"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.