KroneckerDelta

KroneckerDelta[n1,n2,]

gives the Kronecker delta , equal to 1 if all the are equal, and 0 otherwise.

Details

Examples

open allclose all

Basic Examples  (3)

In[1]:=
Click for copyable input
Out[1]=

Construct an identity matrix:

In[1]:=
Click for copyable input
Out[1]//MatrixForm=

Use in sums to pick out elements:

In[1]:=
Click for copyable input
Out[1]=

Scope  (3)

Applications  (3)

Properties & Relations  (2)

Possible Issues  (2)

Neat Examples  (1)

See Also

DiscreteDelta  IdentityMatrix  UnitVector  Equal  UnitStep  If  Boole  Signature  DiracDelta

Tutorials

Introduced in 1999
(4.0)