find the dimension of each of the following vector spaces.


a. the vector space of all diagonal n*n matrices

b. the vector space of all symmetric n*n matrices

c. the vector space of all upper triangular n*n matrices