How do we calculate the dimension of a matrix? Is it the number of entries? Or is it the number of different entries? For instance if I have a matrix 2x2 the dimension would be 4 but if the matrix is simetrical it would be 3. Is this correct? Thanks for your help.