On Fri, Mar 08, 2024 at 03:28:49PM +0100, Ralf Hemmecke wrote:
> That is strange. I tried that before I asked.
>
> %%%% (1) -> ratDenom sqrt(3/5)
>
> +-+
> |3
> (1) |-
> \|5
> Type: AlgebraicNumber
>
> You must have a different version than me.
FriCAS used to automatically split roots. To get the
above now do
rootSplit(r)
note that AlgebraicNumber automatically removes root from the
donomiantor. You need ratDenom for Expression.
I would like to add more functions doing root simplifications,
in particular replacing dependent roots by independent ones,
changing expression so that there are only integer/polynomial
roots and number of independent roots do not increase, etc.
--
Waldek Hebisch
--
You received this message because you are subscribed to the Google Groups
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/fricas-devel/ZeszJq91EXrY2IHO%40fricas.org.