%feature("docstring") OT::IndicatorFunction
"Indicator function.

This function compares the output of another function against a threshold.

.. math::

    l = 1_{\{f > s\}}

Parameters
----------
function : :class:`~openturns.Function`
    Function from which another function is created.
comparisonOperator : :class:`~openturns.ComparisonOperator`
    Comparison operator.
threshold : float
    Threshold from which values are compared.

Examples
--------
>>> import openturns as ot
>>> analytical = ot.SymbolicFunction(['x0', 'x1'], ['x0 + x1'])
>>> indicator = ot.IndicatorFunction(analytical, ot.Less(), 0.0)
>>> print(indicator([2, 3]))
[0]"
