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)]