Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I have to do this often, so I wrote a function:

def matrix_full_simplify(mat,m,n):
    for i in range(m):
        for j in range(n):
    return matsimp;


amat = matrix_full_simplify(amat)

You could easily adapt this to be better or require fewer arguments and can create a similar function for vectors.