1 | initial version |
Use z.simplify_rectform(None).factor()
:
sage: a, b = var('a b', domain='real')
sage: z = 1/(a + I*b)
sage: z.simplify_rectform(None)
a/(a^2 + b^2) - I*b/(a^2 + b^2)
sage: z.simplify_rectform(None).factor()
(a - I*b)/(a^2 + b^2)
Note that z.simplify_rectform(None)
is a shortcut for z.simplify_rectform(complexity_measure=None)
. Type z.simplify_rectform?
for more details.