Earlier quoted context omitted.
My favorite colors are 1, 2, 3 and 4 in some 8-bit grayscale color space. Here's a matrix [ 1 2 ] [ 3 4 ] This represents some linear transformation, and is a matrix. Are you trying to argue otherwise? FYI, matrices transform between vectors within a vector space.
You have a list of labels you've conveniently decided to conflate with numbers. It's fine to use an enum for your data, but no, this data structure is not meant to convey a transformation. You bring up a good point though, if this were meant to be a transformation, then we're talking about modules (Z/2^8Z being the underlying ring) and not vector spaces, which is fine. I was needlessly narrow when I said "vector spac…
Why do you mention things like data structures, enums and labels? This is math, not C++.
Anyway, the point is, any arbitrary 2D arrangement of numbers can be a valid matrix, whatever those numbers may represent.