On 11/07/2016 08:50 AM, oldk1331 wrote: > On Mon, Nov 7, 2016 at 2:13 PM, Ralf Hemmecke <r...@hemmecke.org> wrote: >> I'm not sure if it is worth, but when I work with polynomial domains, I >> am always looking for a >> >> variable: () -> % >> >> function. > > What does that do? Return monomial(1,1)?
Exactly. >> (1) -> f: SUP(INT) := x^3+2*x^2+x > > That works in interpreter but not in compiler. BTW, there are nearly 300 > occurrence of 'monomial(1, 1)' in src/algebra, so that's pretty popular. Sure, but I don't think that replacing it by variable() or whatever name it will be, is only a small gain. Ralf -- 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 post to this group, send email to fricas-devel@googlegroups.com. Visit this group at https://groups.google.com/group/fricas-devel. For more options, visit https://groups.google.com/d/optout.