matrix basics definition m x n matrix is m rows, n columns transpose: AT(i,j)=A(j,i) special structure matrix