Notation: setting multiple variables to zero

66 Views Asked by At

I would like to set multiple variables to zero in an latex algorithm environment. Is there a more pleasing way than to state simply

$a=b=c=d=e=f=0$ ?

This looks cluttered. Maybe someone with more knowledge in math notation knows a better (shorter) way to express this. Thanks!

1

There are 1 best solutions below

3
On BEST ANSWER

If you have an index set $I$ such that $I = \{a, b, c, d, e, f\}$, then you can simply say

$$\forall i \in I, i = 0$$