Indicator function

An indicator function assigns 1 to elements in a specified set and 0 to elements outside it. It encodes set membership as a numerical function.

Connect