convert/and
convert list, set, expression to `and` form
convert/or
convert list, set to `or` form
convert/xor
convert list, set to `xor` form
Calling Sequence
Parameters
Description
Examples
convert(exprA, `and`)
convert(expr, `or`)
convert(expr, `xor`)
exprA
-
list, set, or expression
expr
list or set
The convert/and command converts a given list, set, or expression to an `and` form. Given expr as a list [a1,a2,a3,...,an], convert/and converts the list into the form a1⁢and⁢a2⁢and⁢a3...and⁢an. If the given list or set is empty, true is returned.
The convert/or command converts a given list or set to an `or` form. Given expr as a list [a1,a2,a3,...,an], convert/or converts the list into the form a1⁢or⁢a2⁢or⁢a3...or⁢an. If the given list or set is empty, false is returned.
The convert/xor command converts a given list or set to an `xor` form. Given expr as a list [a1,a2,a3,...,an], convert/xor converts the list into the form a1⁢xor⁢a2⁢xor⁢a3...xor⁢an. If the given list or set is empty, true is returned.
convert⁡a,b,c,`and`
aandbandc
convert⁡,`and`
true
convert⁡a⇒b,`and`
aandb
convert⁡aorb,`and`
convert⁡f⁡a,b,`and`
convert⁡a⁢b⁢c,`and`
convert⁡a,b,c,`or`
aorborc
convert⁡,`or`
false
convert⁡a,b,c,`xor`
axorbxorc
convert⁡,`xor`
See Also
convert
Download Help Document