Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Evaluation of boolean functions in Mathematica 8' topicStudent Support Forum > General > "Evaluation of boolean functions in Mathematica 8"

< Previous CommentHelp | Reply To Comment | Reply To Topic
Author Comment/Response
Michael
08/01/12 4:54pm

The easiest way is

g[p_, q_, r_] := And[p, q, r];

If, for some reason, you want to make BooleanConvert work, here is a (somewhat arcane) way:

g = Head[BooleanConvert[And[p, q, r], "BFF"]];

URL: ,

Subject (listing for 'Evaluation of boolean functions in Mathematica 8')
Author Date Posted
Evaluation of boolean functions in Mathematica 8 Akhil 07/31/12 2:44pm
Re: Evaluation of boolean functions in Mathemat... Michael 08/01/12 4:54pm
< Previous CommentHelp | Reply To Comment | Reply To Topic