I'm trying to formulate a Sigma notation formula which would yield the count (sum) of columns which themselves have a non-zero sum.
$\begin{bmatrix} 1 & 0 & 0 & 0 & 0\\ 1 & 1 & 0 & 0 & 1\\ 0 & 0 & 0 & 0 & 1 \end{bmatrix}$
In this above example the result would be $3$. Is it possible to write this down as sigma notation?
Ok, I think I figured it out also. I think by making use of the Iverson Brakets it would be something like this:
Given the matrix of size $n$ rows and $m$ columns:
$$\displaystyle{\sum_{j=1}^m\left[\sum_{i=1}^nx_i,_j>0\right]}$$