5.59.2 List of variables: lname indets
The lname command finds the symbolic variable names used in
an expression.
indets is a synonym for lname.
-
lname takes one argument:
expr, an expression.
- lname(expr) returns the list of
the symbolic variable names used in expr.
Examples.
-
Input:
lname(x*y*sin(x))
Output:
- Input:
a:=2;assume(b>0);assume(c=3); |
lname(a*x^2+b*x+c)
|
Output: