Online Algebra Calculator
Many of users do not use powerful Maxima computer algebra system for systematic work, but for ad hoc algebraic calculations – equations, functions, matrixes, etc. only. To do this job, it is not useful to download the whole application from a web site.
-- Keyword: allbut works with the part commands (i.e. part, inpart, substpart, substinpart, dpart, and lpart). For example,
(%i1) expr : e + d + c + b + a;
(%o1) e + d + c + b + a
(%i2) part (expr, [2, 5]);
(%o2) d + a![Allbut Example expr : e + d + c + b + a;
part (expr, [2, 5]);
expr : e + d + c + b + a;
part (expr, allbut (2, 5));
[aa : 11, bb : 22, cc : 33, dd : 44, ee : 55];
kill (allbut (cc, dd));
[aa, bb, cc, dd];](http://maxima-online.org//plot.html?g=i656367696.png&t=img&db=r-53929970)
while
(%i1) expr : e + d + c + b + a;
(%o1) e + d + c + b + a
(%i2) part (expr, allbut (2, 5));
(%o2) e + c + b allbut is also recognized by kill.
(%i1) [aa : 11, bb : 22, cc : 33, dd : 44, ee : 55];
(%o1) [11, 22, 33, 44, 55]
(%i2) kill (allbut (cc, dd));
(%o0) done
(%i1) [aa, bb, cc, dd];
(%o1) [aa, bb, 33, 44] kill(allbut(<a_1>, <a_2>, ...)) has the effect of kill(all) except that it does not kill the symbols <a_1>, <a_2>, ... .
(%o1) true (%i2)