On Friday, July 11, 2014 2:01:33 AM UTC-7, Robert Pollak wrote: > > The following does not work, it still gives the "!= 0" terms: > > maxima.eval("domain : real;") > solve(abs((x-1)/(x-5)) <= 1/3, x) >
sage: maxima_calculus("domain: real") real sage: solve(abs((x-1)/(x-5)) <= 1/3, x) #0: solve_rat_ineq(ineq=abs(x-1)/abs(x-5) <= 1/3) [[x == -1], [x == 2], [x == 1], [1 < x, x < 2], [-1 < x, x < 1]] > * What would happen if Maxima were called with the default "domain : real"? > If you mean: "what would happen if sage would initialize maxima_calculus (which is maxima_lib) with domain: real?" -- a lot of doctests would break. Compare sage: maxima_calculus("domain: real") real sage: maxima_calculus("sqrt(x^2)") abs(x) sage: maxima_calculus("domain: complex") complex sage: maxima_calculus("sqrt(x^2)") sqrt(x^2) -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.