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





IsLinearFunction IsPositiveFunction IsSelfDualFunction Binary BCD TwoComplement ToOrAnd ToTruthTable ToXORP Eq Equiv minterm PositiveDecimalToMantissa object OrAnd To2LayerAndOr To2LayerAndXor ToFullAnd MaxSAT ShortestInputsForDistinguishTwoStates InputVariables Forwardly ToFeedbackSystem CreateCompactTable To2layerOrAnd StateTransition string() GetDontCareLogicFunction Utility Zero

Search This Website :

 
Buy website traffic cheap