obj getOrderMatrix m array m getOrderMatrix obtains the order matrix from obj. If obj is a polynomial, it returns the order matrix associated to the polynomial. If obj is an array, it returns an order matrix of an element.