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!
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$$