MAT #PRODDIAG(D,A,B) computes the diagonal elements as a vector D (mx1) of matrix A*B where A is mxn and B is n*m. A = More about additional MAT #operations M = More about MAT operations