-
-
Notifications
You must be signed in to change notification settings - Fork 679
Open
Description
We already do:
sage: sqrt(4/9*x)
2/3*sqrt(x)
sage: sqrt(-4*x)
2*sqrt(-x)
sage: (4*x + 12)^(-3)
1/64/(x + 3)^3
sage: (4/9*x)^(3/2)
8/27*x^(3/2)
This should be extended to rational exponents of sums:
sage: sqrt(-4*x-4)
sqrt(-4*x - 4)
sage: (4*x + 12)^(-3/2)
(4*x + 12)^(-3/2)
It's a matter of implementing the case add^rational in Pynac's power::eval
Component: symbolics
Issue created by migration from https://trac.sagemath.org/ticket/23368