description: g=mpower(f, n) is called for the syntax 'f^n' and means symbolic matrix power. So, it computes the n-th power of the (matrix of NCpolys) f, i.e., f^n. arguments: f is an NCpoly representing a polynomial or matrix of NCpolys with equal dimensions n is a nonnegative integer output: NCpoly representing the polynomial f^n possible usage: f^n, mpower(f, n) example: >> [x*y+y,x;1,x+y]^2 ans = x+x*y*x*y+x*y^2+y*x*y+y^2 x^2+x*y+x*y*x+y*x x+x*y+2*y x+x^2+x*y+y*x+y^2 |