Previous Up Next

9.4.5  Testing if a variable is in an expression

The has command determines whether or not an expression contains a given variable.

Examples

has(x*y*sin(x),y)
     
2           
has(x*y*sin(x),z)
     
0           

Previous Up Next