What is the meaning of $1_{a>b}$?

108 Views Asked by At

What would this mean: $1_{a>b}$ .. Based on the context, it could mean "$1$ if $a>b$ else $0$", but it's the first time I see it so help would be appreciated.

1

There are 1 best solutions below

0
On

You are right.

Mathematical speaking it means:

$$ 1_{a>b} = \begin{cases} 1 & \text{if $a > b$} \\ 0 & \text{if $a \leq b$} \end{cases} $$