Open HankNu opened 21 hours ago
I guess it is because the output of fourier_elim
can not be done with by rim, e.g.
(%i1) load(solve_rat_ineq);
solve_rat_ineq(x^2-1>0);
(%o1) /usr/local/share/maxima/5.47.0/share/solve_rat_ineq/solve_rat_ineq.mac
(%i2)
(%o2) [[x < - 1], [x > 1]]
(%i3) load("fourier_elim");
fourier_elim([x^2-1>0],[x]);
(%o3) /usr/local/share/maxima/5.47.0/share/fourier_elim/fourier_elim.lisp
(%i4)
(%o4) [1 < x] or [x < - 1]
As we can see, the first output (%o2) is a list [[x < - 1], [x > 1]], but the second output (%o4) is a string [1 < x] or [x < - 1].
This is the PDF output of my Rmd.
I can solve this inequality in Xmaxima.
Then I try to test this route with rim in R.
But
fourier_elim
cannot be knitted,which throw the error as below:
Then I find that
solve_rat_ineq
can be knitted well.My environment is
There is some other inequalities to be tested.