I have a list of lists. I want to divide every value in each list by the sum of that list.
What I did is: a list of lists S, where each list in S is
. Each value in
is
. I wrote the normalisation down as:

This does not seem right to me, but I don't know how to correct it. How can I correctly express this?
LaTeX:
\begin{equation}
S_k^i = \frac{S_k^i}{\sum\limits_{k=1}^K S_k^i} \qquad \forall S_k^i
\end{equation}