FWIW :
sage: var("a, b, c") (a, b, c) sage: ((a-b)*(b-c)) (a - b)*(b - c) sage: 
((a-b)*(b-c)).list() [-b^2 + b*c, b - c] sage: ((a-b)*(b-c)).operands() [a 
- b, b - c] 

HTH,
​
Le lundi 23 octobre 2023 à 18:23:32 UTC+2, Rolandb a écrit :

> Hi,
>
> I am surprised by  the output (9.8 and 10.1 Ubuntu):
> var('A,B,C') factor((A-B)*(B-C)).list()
> var('A,B,C') factor((A-B)*(B-C)).list()
>
>     var('A,B,C')
>     factor((A-B)*(B-C)).list()
>     [-B^2 + B*C, B - C]
>
> I expected [B - A, B - C]. Any explanation?
>
> Kind regards,
>
> Roland
>

-- 
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 sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/456c9fa5-1950-4e72-8017-9dcb1fe2cde4n%40googlegroups.com.

Reply via email to