Mathematica > Mathematics and Algorithms > Mathematical Functions > Numerical Functions > DiscreteIndicator >

DiscreteIndicator

DiscreteIndicator
yields the discrete indicator function, equal to 1 if and 0 if for any i.
Evaluate at discrete points:
Products of indicator functions effectively correspond to an outer product:
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]=
Represent nominal terms in fitting results:
See the functional form:
Evaluate the FittedModel at points a and b:
DiscreteIndicator is equivalent to Boole when both values are in the set:
They differ if either of the first two values is not in the set:
New in 7
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF