New in Wolfram Mathematica 7: Industrial-Strength Boolean Computation  previous | next 
Generate the Truth Table for a Boolean Function
Generate a truth table from a Boolean function.
In[1]:=

Click for copyable input
BooleanCountingFunction[{3, 6}, {a, b, c, d, e, f}]
Out[1]=



In[2]:=

Click for copyable input
BooleanCountingFunction[{3, 6}, {a, b, c, d, e, f}];

BooleanTable[%]
Out[2]=



In[3]:=

Click for copyable input
BooleanCountingFunction[{3, 6}, {a, b, c, d, e, f}];

BooleanTable[%];

Boole[%]
Out[3]=