Convert.ToTruthTable
Back to table
/*
Logic-Function-Analysis
Convert.ToTruthTable
[TruthTable g]=Convert.ToTruthTable(LogicFunction f);
f : a logic function
g : a logic function in the TruthTable form
Compute the truth-table of the logic object
*/
//-------------------------------------------------------------------
// examples
f=AndOr()
{
1,-2;
-1,2;
}
g=Convert.ToTruthTable(f);
Print(f,g);
//-------------------------------------------------------------------
// result
Advanced PermuteLogicFunction Analysis IsPositiveFunction IsThresholdFunction IsUnateFunction FromBinary OneComplement Convert ToDualFunction ToShannonTree ToTruthTable DiagramGateName Eq list() logicvardef long() minterm() Nor To2LayerNand Solve Assign StateTransitionBasedly FastVerificationData ROBDD GetNegativeLogicFunction AdjustLogicVariableCount IndependentBase XORP Zero