Isn't "construct" carefully eliminate terms with zero coefficient?
On Wed, Jul 24, 2019, 9:56 PM Waldek Hebisch <hebi...@math.uni.wroc.pl> wrote: > oldk1331 wrote: > > > > The local function "sortAndAdd" is almost the same as > > "construct", but less efficient: it creates new "Term" > > instead of using existing ones. > > > > Also, the usage of "+" in "*" can also be omitted: > > we can use the newly added "concat!" and pass the whole > > list to "construct!". > > It is not clear for me that we can do this. Existing code > is quite careful to eliminate terms with zero coefficient. > In your code it is not clear if/how this is done. > > -- > 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 fricas-devel+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/fricas-devel/E1hqHkK-0000TH-Oe%40hera.math.uni.wroc.pl > . > -- 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 fricas-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/fricas-devel/CAGBJN927u187_A%2BaXJiJMWSndjbYAgBNKRQoS4VeY4GQHDhaGA%40mail.gmail.com.