Previous Up Next

9.4.2  Finding symbolic variables in an expression

The lname or indets command finds the symbolic variable names used in an expression.

Examples

lname(x*y*sin(x))
     
⎡
⎣
x,y⎤
⎦
          
a:=2;assume(b>0);assume(c=3); lname(a*x^2+b*x+c)
     
⎡
⎣
x,b,c⎤
⎦
          

Previous Up Next