delta {calculus} | R Documentation |
Generalized Kronecker Delta
Description
Computes the Generalized Kronecker Delta.
Usage
delta(n, p = 1)
Arguments
n |
number of elements for each dimension. |
p |
order of the generalized Kronecker delta, |
Value
array
representing the generalized Kronecker delta tensor.
References
Guidotti E (2022). "calculus: High-Dimensional Numerical and Symbolic Calculus in R." Journal of Statistical Software, 104(5), 1-37. doi:10.18637/jss.v104.i05
See Also
Other tensor algebra:
contraction()
,
diagonal()
,
einstein()
,
epsilon()
,
index()
Examples
### Kronecker delta 3x3
delta(3)
### generalized Kronecker delta 3x3 of order 2
delta(3, p = 2)
[Package calculus version 1.0.1 Index]