Definition

An indicator function of a subset of a set is a function that maps elements of the subset to one, and all other elements to zero