So I'm reading this text on Quantum Mechanics, and it goes through a few chapters that I understand fairly well including probability. But then it says that all quantities, like position and energy of an object, are represented in a matrix, and that quantities have associated probability distributions. I kind of get this, although I'm a little unclear about whether we're talking about full m-by-n matrices or just vectors. If it's vectors, yeah, I'm sort of familiar with that. But if not, how do you use a full m-by-n matrix to represent a quantity?
And then further along, it says that $\langle M\rangle$ is the mean of a matrix, but doesn't say what that is. Is it the average of all the coordinates in the matrix, so it's $$\displaystyle \frac{1}{mn}\sum_{(i,j)\in \ulcorner m \urcorner \times \ulcorner n \urcorner}a_{ij} \, ,$$ or are each of the columns supposed to represent separate quantities and then I guess the mean is a vector of the means of the columns?
The only guidance the text gives in this regard is "Some of the basic rules of quantum mechanics involve simple relations between quantities, expressed in terms of matrices, and corresponding relations between mean values. Consider a quantity represented by a matrix $M$. Let $\langle M\rangle $ denote its mean value. For any number $z$, the matrix $zM$ represents the original quantity multiplied by $z$. Its mean value is $\langle zM\rangle=z\langle M\rangle$." And so on. But nowhere does it define the mean of a matrix, it just jumps into this notation. Some quick websearching showed that there doesn't seem to be any consensus on what is meant by the mean of a matrix representing a quantity.