Previous Up Next

5.1.6  Transforming a list into a boolean expression: list2exp

The list2exp command is the inverse of exp2list; it takes lists and tranforms them into boolean expressions. It can do this in two ways.

The first way:

Examples.


Alternatively:

Example.

Input:

list2exp([[3,9], [-1,1]], [x, y])

Output:

x=3∧ y=9∨ x=−1∧ y=1

Previous Up Next