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 IsMonotonicFunction IsParityFunction IsSelfDualFunction IsSymmetricFunctionTo And BDD Binary TwoComplement binaryioset bool ToNotFunction ToSOP Diagram DiagramGateName Count MantissaToPositiveDecimal MostSignificantDigit object() Realization To2LayerNand Implementation Full StateDeviceName TruthTable GetPositiveLogicFunction RandomGenerate var XORP Zero