Sponsored links: Algebra eBooks
 

Help Index

A

B

C

D

E

F

G

H

I

J

K

L

M

N

O

P

Q

R

S

T

U

V

W

X

Y

Z

The Maxima on-line user's manual

Algebra Calculator

Search:

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.

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]);

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-matrix-nullspace

m: matrix([1,0,-1,x],...

t:nullspace(m);

t:args(t);

Calculate

args-divisors-lreduce-matrix-subst

s: divisors(28);

lreduce ("+", args(s...

divisors (a);

Calculate

args-block-del-length-map-op-part

expr: x . dx . dy + z...

expr2: x . [dx, dy] +...

expr3: x * [dx, dy] +...

Calculate

args-block-del-length-map-op-part

expr: x . dx . dy + z...

expr2: x . [dx, dy] +...

expr3: x * [dx, dy] +...

Calculate

args-matrix-nullspace

m: matrix([1,0,-1,x],...

t:nullspace(m);

t:args(t);

Calculate

args-matrix-nullspace

m: matrix([1,0,-1,x],...

t:nullspace(m);

t:args(t);

Calculate

args-length-op-part

expr: x . dx . dy + z...

part(expr, 1);

length(expr);

Calculate

args-matrix-nullspace

m: matrix([1,0,-1,x],...

t:nullspace(m);

args(t);

Calculate

args-block-del-length-map-op-part

expr: x . dx . dy + z...

expr2: x . [dx, dy] +...

expr3: x * [dx, dy] +...

Calculate

args-block-length-op-part

expr: x . dx . dy + z...

expr2: x . [dx, dy] +...

expr3: x * [dx, dy] +...

Calculate