next up previous contents index
suivant: Evaluate booleans : evalb monter: Booleans précédent: Boolean operators : or   Table des matières   Index


Transform a boolean expression as a list : exp2list

exp2list returns the list [expr0,expr1] when the argument is (var=expr0) or (var=expr1).
exp2list is used in TI mode for easier processing of the answer of a solve command.
Input :
exp2list((x=2) or (x=0))
Output :
[2,0]
Input :
exp2list((x>0) or (x<2))
Output :
[0,2]
In TI mode input :
exp2list(solve((x-1)*(x-2)))
Output :
[1,2]



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