On 2018-11-13 06:20, Michael Beeson wrote:
> def demo():
> var('N,x')
> test = ((N*(3*I*sqrt(3) + 9) + N*(3*I*sqrt(3) - 3)))*x
> print("test = ")
> print(test)
> print("test.full_simplify() = ")
> print(test.full_simplify())
>
> Here is the output
>
> sage: demo()
>
> test =
>
> (N*(3*I*sqrt(3) + 9) + N*(3*I*sqrt(3) - 3))*x
>
> test.full_simplify() =
>
> (36*I*sqrt(3)*N + 6)*x
I cannot repreduce this on 8.4:
sage: demo()
test =
-3*(N*(-I*sqrt(3) + 1) + N*(-I*sqrt(3) - 3))*x
test.full_simplify() =
-6*N*x*(-I*sqrt(3) - 1)
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.