next up previous contents index
suivant: Numeric evaluation : evalf monter: Other functions précédent: List of variables of   Table des matières   Index


Test if a variable is in an expression : has

has takes as argument an expression and the name of a variable.
has returns 1 if this variable is in this expression, and else returns 0.
Input :
has(x*y*sin(x),y)
Output :
1
Input :
has(x*y*sin(x),z)
Output :
0



giac documentation written by Renée De Graeve and Bernard Parisse