### The Maxima on-line user's manual

Algebra Calculator

#### Args

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.

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) ```

### Related Examples

##### args-asin-atan2-block-cos-flatten-float-ident-length-make_random_state-makelist-matrix-set_random_state-sin-sqrt-transpose

Rx(t) := matrix ([1, ...

Ry(t) := matrix ([cos...

Rz(t) := matrix ([cos...

Calculate

##### args-map-matrix-plot2d-rhs-solve-transpose

Verteilung:matrix([1,...

Punkte:args(Verteilung);

g(x):=x[2]=a*x[1]^4+b...

Calculate

p: matrix([7,2],[8,3]...

linearinterpol(p);

Calculate

##### args-length-makelist-ratexpand

expr: ratexpand(a*x^2...

alist: args(expr);

alistlen: length(alist);

Calculate

##### args-length-listofvars-makelist-ratexpand

/* check denominator ...

alist: args(expr);

alistlen: length(alist);

Calculate

f(x):= x^2;

op(f(x));

args(f(x));

Calculate

##### args-matrix-plot2d-substpart

sq:[[0,0],[2,0],[2,2]...

sq1:[[0,2,2,0],[0,0,2...

rm:matrix([.707,-.707...

Calculate

##### args-genmatrix-kill-powerdisp-transpose-true

""/* MATRIZENMULTIPLI...

kill(all);

powerdisp:true;

Calculate

##### args-cos-diff-ev-flatten-float-matrix-sin-sqrt-transpose

Rx(t) := matrix ([1, ...

Ry(t) := matrix ([cos...

Rz(t) := matrix ([cos...

Calculate

f(x):= x^2;

op(f(x));

args(f(x));

Calculate