DiscreteIndicator

DiscreteIndicator[x,x1,{u1,u2,}]
yields the discrete indicator function, equal to 1 if and 0 if for any i.

DetailsDetails

ExamplesExamplesopen allclose all

Basic Examples  (2)Basic Examples  (2)

Evaluate at discrete points:

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

Products of indicator functions effectively correspond to an outer product:

In[1]:=
Click for copyable input
Out[1]=
Introduced in 2008
(7.0)