I am reading a paper. They define the following problem. problem
Notice the equation $\sum p \cdot M = 1$. Now see the definition of $M$ in this snippet from the same paper: M
So, $M$ is some matrix with the same rows as the length of the $p$-vector, which we call $n$.
Then clearly $p\cdot M$ is itself a row vector of length $m$ (the column length of $M$). But then what is $\sum p \cdot M$? What is the sum of a vector? Have the authors made a mistake, or is this some notation I am unfamiliar with?
EDIT:
The answers say that this is just element-wise addition, but I do not see how this fits.
I will provide context. Consider this tree: tree Each arc in the tree is associated with a probability. Each node in the tree is the "starting point" of a distribution, corresponding to the arcs that branch off from this node. The first node has a distribution with two outcomes, and the other nodes have a distribution with 3 outcomes each.
$p$ is a vector with $8$ elements. It contains the probabilities on the arcs. $M$ is a matrix of $8$ rows and 3 columns (since we have 3 nodes/3 distributions). The idea is that $p \cdot M$, where $M$ is a matrix of zeros and ones, extracts probabilities for each distribution/for each column/for each node. In this context, how then do we make sense of $\sum pM = 1$?
How would you define $M$ in this case then?
The sum of a vector (at least in this case) is the sum of its entries.