Analysis.IsParityFunction
Back to table
/*
Logic-Function-Analysis
Analysis.IsParityFunction
[bool result]=Analysis.IsParityFunction(LogicFunction f);
f : a logic function
result : true | false
Check whether $f$ is a parity function.
*/
//-------------------------------------------------------------------
// examples
[f]=AndXor()
{
1;2;3;
}
[h]=AndXor()
{
ONE;1;2;3;
}
[g]=Analysis.IsParityFunction(f);
Print("IsParityFunction?", g);
[g]=Analysis.IsParityFunction(h);
Print("IsParityFunction?", g);
//-------------------------------------------------------------------
// result
IsMonotonicFunction IsNegativeUnateFunctionTo IsParityFunction AndXor binary() Binary ToShannonTree FeedbackSystem Load Nand LeastSignificantDigit RadixToIndex object PermutationMatrix real() Realization To2LayerNor To2LayerNand ShortestInputsForDistinguishTwoStates StateVariables OutputAndStateBasedly CreateCompactTable FullTable MultiCover Shannon GetPositiveLogicFunction GetSubTable RandomGenerate Utility Zero
The website is simply translated by using the Google Translate. Please inform us if you find the wrong/funny/weird translation.