![]() | This article includes a list of general references, but it lacks sufficient corresponding inline citations. (December 2009) |
In mathematics, an indicator function or a characteristic function of a subset of a set is a function that maps elements of the subset to one, and all other elements to zero. That is, if A is a subset of some set X, then if and otherwise, where is one common notation for the indicator function; other common notations are [a] and
The indicator function of A is the Iverson bracket of the property of belonging to A; that is,
For example, the Dirichlet function is the indicator function of the rational numbers as a subset of the real numbers.
Cite error: There are <ref group=lower-alpha>
tags or {{efn}}
templates on this page, but the references will not show without a {{reflist|group=lower-alpha}}
template or {{notelist}}
template (see the help page).