Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version
sage: mymatrix.apply_map(lambda z: z.expr())
[f(t, r, th, ph) + g(t, r, th, ph)                   g(t, r, th, ph)                                 0]
[                  f(t, r, th, ph)                                 0                   g(t, r, th, ph)]
[                                0                   g(t, r, th, ph)                   f(t, r, th, ph)]