In
mathematics, an
indicator function or a
characteristic function is a
function defined on a
set X that indicates membership of an
element in a
subset A of
X, having the value 1 for all elements of
A and the value 0 for all elements of
X not in
A. It is usually denoted by a bold or
blackboard bold symbol with a subscript describing the event of inclusion.