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.
Function: args (<expr>) Returns the list of arguments of expr, which may be any kind of expression other than an atom. Only the arguments of the top-level operator are extracted; subexpressions of expr appear as elements or subexpressions of elements of the list of arguments.
![Args Example expr: x . dx . dy + z . dy . dz + y . dx . dz;
expr2: x . [dx, dy] + z . [dy, dz] + y . [dx, dz];
expr3: x * [dx, dy] + z * [dy, dz] + y * [dx, dz];
expr4: [x, dx, dy] + [z, dy, dz] + [y, dx, dz];
part(expr, 1);
length(expr);
op(expr);
args(expr);
diffform(vars, expr) := block( [n, k]);](http://maxima-online.org//plot.html?g=i199470823.png&t=img&db=r-1556613801)
The order of the items in the list may depend on the global flag inflag.
args (<expr>) is equivalent to substpart ("[", <expr>, 0). See also substpart, and op.
There are also some inexact matches for args. Try ?? args to see them.
(%o1) true (%i2)
expr: x . dx . dy + z...
expr2: x . [dx, dy] +...
expr3: x * [dx, dy] +...
expr: x . dx . dy + z...
expr2: x . [dx, dy] +...
expr3: x * [dx, dy] +...
expr: x . dx . dy + z...
expr2: x . [dx, dy] +...
expr3: x * [dx, dy] +...