tripledelta.tensor {tensorA}R Documentation

A tensor with entry 1 if and only if three indices are equal

Description

The tensor mapping a tensor of dimension d to its corresponding diagonal tensor of dimension c(d',d*)

Usage

tripledelta.tensor(d,mark1="'",mark2="*",dn=NULL)

Arguments

d the first of three dimension vectors
mark1 the mark for the second dimension vectors
mark2 the mark for the third dimension vectors
dn list of character vectors, optional dimnames

Details

The tripledelta is the tensor mapping a tensor to a corresponding diagonal tensor.

Value

The tensor given by:

E_{i_1...i_n j_1... j_n k_1...k_n}=delta_{i_1j_1}delta_{i_1k_1} ...delta_{i_nj_n}delta_{i_nk_1}

Author(s)

K. Gerald van den Boogaart

References

See Also

delta.tensor, diag.tensor

Examples

tripledelta.tensor(3)

[Package tensorA version 0.2 Index]