KroneckerDelta

KroneckerDelta[n1,n2,]

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

Details

Examples

open all close all

Basic Examples  (4)

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]=

Insert a templated using kd and fill in the arguments:

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

Scope  (15)

Applications  (3)

Properties & Relations  (2)

Possible Issues  (2)

Neat Examples  (1)

Introduced in 1999
(4.0)